mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
- 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
This commit is contained in:
+1
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user