plugins/SpecialUserFuncs.php
changeset 525 3f2dfdb99be4
parent 519 94214ec0871c
parent 521 d264784355e5
child 536 218a627eb53e
--- a/plugins/SpecialUserFuncs.php	Tue Apr 08 20:31:58 2008 -0400
+++ b/plugins/SpecialUserFuncs.php	Tue Apr 08 20:32:30 2008 -0400
@@ -544,6 +544,14 @@
     }
     else
     {
+      if ( $result['error'] === 'valid_reset' )
+      {
+        header('HTTP/1.1 302 Temporary Redirect');
+        header('Location: ' . $result['redirect_url']);
+        
+        $db->close();
+        exit();
+      }
       $GLOBALS['__login_status'] = $result;
     }
   }