diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-09-17 07:11:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-09-17 07:11:59 +0000 |
commit | 7f29b142770cba60259a22f3760e2376b8e79790 (patch) | |
tree | d9ff4c7dfb29dfafb442c2cd1f2e91b2592e63bc /modules/user/user.pages.inc | |
parent | 6f8b5f9a5baaea6874ffe050ba0210b680070140 (diff) | |
download | brdo-7f29b142770cba60259a22f3760e2376b8e79790.tar.gz brdo-7f29b142770cba60259a22f3760e2376b8e79790.tar.bz2 |
- Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience.
Diffstat (limited to 'modules/user/user.pages.inc')
-rw-r--r-- | modules/user/user.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index be757643b..727b2443e 100644 --- a/modules/user/user.pages.inc +++ b/modules/user/user.pages.inc @@ -84,7 +84,7 @@ function user_pass_reset(&$form_state, $uid, $timestamp, $hashed_pass, $action = else { // Time out, in seconds, until login URL expires. 24 hours = 86400 seconds. $timeout = 86400; - $current = $_SERVER['REQUEST_TIME']; + $current = REQUEST_TIME; // Some redundant checks for extra security ? if ($timestamp < $current && $account = user_load(array('uid' => $uid, 'status' => 1)) ) { // No time out for first time login. |