summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-06-11 15:01:32 +0000
committerDries Buytaert <dries@buytaert.net>2007-06-11 15:01:32 +0000
commitbc1c4defa2962db7c32a92dfa759a27eb3645caf (patch)
tree8bc776b809938edd070a3f43d638aa86cd5a4421 /modules
parent42667a63287c376f6aa67aebecdacc65145b7ef0 (diff)
downloadbrdo-bc1c4defa2962db7c32a92dfa759a27eb3645caf.tar.gz
brdo-bc1c4defa2962db7c32a92dfa759a27eb3645caf.tar.bz2
- Patch #150167 by fwalch: fixed problem with fapi migration -- one-time login not working.
Diffstat (limited to 'modules')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 1ba1c772c..4119d0fa2 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1207,7 +1207,7 @@ function user_pass_submit($form, &$form_state) {
/**
* Menu callback; process one time login link and redirects to the user page on success.
*/
-function user_pass_reset($uid, $timestamp, $hashed_pass, $action = NULL) {
+function user_pass_reset(&$form_state, $uid, $timestamp, $hashed_pass, $action = NULL) {
global $user;
// Check if the user is already logged in. The back button is often the culprit here.