changeset 525 | 3f2dfdb99be4 |
parent 518 | 2b826f2640e9 |
parent 521 | d264784355e5 |
child 536 | 218a627eb53e |
--- a/includes/sessions.php Tue Apr 08 20:31:58 2008 -0400 +++ b/includes/sessions.php Tue Apr 08 20:32:30 2008 -0400 @@ -956,9 +956,11 @@ eval($cmd); } - header('Location: ' . makeUrlComplete('Special', 'PasswordReset/stage2/' . $row['user_id'] . '/' . $row['temp_password']) ); - - exit; + return array( + 'success' => false, + 'error' => 'valid_reset', + 'redirect_url' => makeUrlComplete('Special', 'PasswordReset/stage2/' . $row['user_id'] . '/' . $row['temp_password']) + ); } }