diff --git a/classes/userhelper.php b/classes/userhelper.php index 90d073d55..91e40665d 100644 --- a/classes/userhelper.php +++ b/classes/userhelper.php @@ -68,6 +68,8 @@ class UserHelper { $user->last_login = Db::NOW(); $user->save(); + $_SESSION["last_login_update"] = time(); + return true; }