diff options
Diffstat (limited to 'app/frontend/facades/UserFacade.php')
-rw-r--r-- | app/frontend/facades/UserFacade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/frontend/facades/UserFacade.php b/app/frontend/facades/UserFacade.php index 96f4923..5e04319 100644 --- a/app/frontend/facades/UserFacade.php +++ b/app/frontend/facades/UserFacade.php @@ -108,7 +108,7 @@ class UserFacade extends Facade { && ($user->ActivationHash === $hash); if ($activation) { $user->IsActive = TRUE; - $user->ActivationDate = date('Y-m-d H:i:s'); + $user->ActivationDate = (new DateTime('UTC'))->format('Y-m-d H:i:s'); $user->ActivationHash = NULL; $user->save(); return TRUE; |