Fixed last login time
This commit is contained in:
parent
3d6564f7a8
commit
91223b67a5
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ class Auth
|
|||
}
|
||||
|
||||
self::setCurrentUser($dbUser);
|
||||
|
||||
$dbUser->lastLoginDate = time();
|
||||
UserModel::save($dbUser);
|
||||
}
|
||||
|
||||
public static function tryAutoLogin()
|
||||
|
|
Loading…
Reference in a new issue