From 7f29b142770cba60259a22f3760e2376b8e79790 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 17 Sep 2008 07:11:59 +0000 Subject: - Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience. --- modules/user/user.pages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.pages.inc') 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. -- cgit v1.2.3