- 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:
parent
dbadd4defb
commit
eaacbc7b2d
7 changed files with 183 additions and 163 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue