diff options
author | plegall <plg@piwigo.org> | 2011-07-13 20:16:50 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2011-07-13 20:16:50 +0000 |
commit | aefd941d758b7a5f471236f9108b2e443c5f5d79 (patch) | |
tree | a4b49bfbddeed8718099fefa1c9770488732459f /include/functions_user.inc.php | |
parent | cfabea6edc7e807d2fc5e811a75ee6b506ac1a73 (diff) |
merge r11736 from branch 2.2 to trunk
bug 2338 fixed: force purge on sessions table (each time a user gets connected)
git-svn-id: http://piwigo.org/svn/trunk@11737 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r-- | include/functions_user.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 58469c3d7..4b44a8233 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -1131,6 +1131,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 = ' |