diff options
-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 = ' |