From 91223b67a5fa50d470f32523e159de9fb4a95dbf Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 18 May 2014 20:52:35 +0200 Subject: [PATCH] Fixed last login time --- src/Auth.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Auth.php b/src/Auth.php index a2c90fd2..0d5ecab0 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -37,6 +37,9 @@ class Auth } self::setCurrentUser($dbUser); + + $dbUser->lastLoginDate = time(); + UserModel::save($dbUser); } public static function tryAutoLogin()