From eaacbc7b2d224524eac6def04e9b721949afd4b8 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 20 Oct 2006 02:17:53 +0000 Subject: - put back config['session_length'] disappeared in r1493 but has always been used in the code (generates mysql errors on session garbage collector) - fix auto_login (die mysql when session timed out, but user has remember) - when a user reconnects from identification.php, the remember cookie was not deleted - fix all redirect warnings/errors (many changes - mainly in common.inc.php and user.inc.php) - reduced $conf['remember_me_length'] to 60 days, because now at each auto login the 60 days countdown restarts git-svn-id: http://piwigo.org/svn/trunk@1568 68402e56-0260-453c-a942-63ccdbb3a9ee --- identification.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'identification.php') diff --git a/identification.php b/identification.php index d37434682..a1a60ec08 100644 --- a/identification.php +++ b/identification.php @@ -72,10 +72,7 @@ SELECT '.$conf['user_fields']['id'].' AS id, array_push( $errors, $lang['invalid_pwd'] ); } } -elseif (!empty($_COOKIE[$conf['remember_me_name']])) -{ - auto_login(); -} + //----------------------------------------------------- template initialization // // Start output of page -- cgit v1.2.3