Skip to content

Commit

Permalink
merge r11736 from branch 2.2 to trunk
Browse files Browse the repository at this point in the history
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
  • Loading branch information
plegall committed Jul 13, 2011
1 parent cfabea6 commit aefd941
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/functions_user.inc.php
Expand Up @@ -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 = '
Expand Down

0 comments on commit aefd941

Please sign in to comment.