summaryrefslogtreecommitdiff
path: root/app/frontend/user
diff options
context:
space:
mode:
Diffstat (limited to 'app/frontend/user')
-rw-r--r--app/frontend/user/DbUser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/frontend/user/DbUser.php b/app/frontend/user/DbUser.php
index 55dcf05..b224120 100644
--- a/app/frontend/user/DbUser.php
+++ b/app/frontend/user/DbUser.php
@@ -52,7 +52,7 @@ class DbUser extends TDbUser {
$dbPassword = $user ? $user->Password : '';
if (UserFacade::getInstance()->verifyPassword($password, $dbPassword)
&& $user) {
- $user->LastLogin = date('Y-m-d H:i:s');
+ $user->LastLogin = (new DateTime('UTC'))->format('Y-m-d H:i:s');
$user->save();
return TRUE;
} else {