aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_user.inc.php3
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 = '