aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sessions.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/sessions.php')
-rw-r--r--engine/lib/sessions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index dda4e960a..7ea650434 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -241,7 +241,10 @@
// Users privilege has been elevated, so change the session id (help prevent session hijacking)
session_regenerate_id();
-
+
+ // Update statistics
+ set_last_login($_SESSION['guid']);
+
return true;
}