mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
bug 2338 fixed: force purge on sessions table (each time a user gets connected)
git-svn-id: http://piwigo.org/svn/branches/2.2@11736 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1102,6 +1102,9 @@ function auto_login() {
|
||||
*/
|
||||
function try_log_user($username, $password, $remember_me)
|
||||
{
|
||||
// we force the session table to be clean
|
||||
pwg_session_gc();
|
||||
|
||||
global $conf;
|
||||
// retrieving the encrypted password of the login submitted
|
||||
$query = '
|
||||
|
||||
Reference in New Issue
Block a user