set last_login_update session variable immediately when logging in
This commit is contained in:
parent
385da287d8
commit
4250386ba5
|
@ -68,6 +68,8 @@ class UserHelper {
|
|||
$user->last_login = Db::NOW();
|
||||
$user->save();
|
||||
|
||||
$_SESSION["last_login_update"] = time();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue