Fixed last login time

This commit is contained in:
Marcin Kurczewski 2014-05-18 20:52:35 +02:00
parent 3d6564f7a8
commit 91223b67a5

View file

@ -37,6 +37,9 @@ class Auth
} }
self::setCurrentUser($dbUser); self::setCurrentUser($dbUser);
$dbUser->lastLoginDate = time();
UserModel::save($dbUser);
} }
public static function tryAutoLogin() public static function tryAutoLogin()