diff options
Diffstat (limited to 'app/Auth/Google.php')
-rw-r--r-- | app/Auth/Google.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Auth/Google.php b/app/Auth/Google.php index 32bcb4b1..6c1bc3cd 100644 --- a/app/Auth/Google.php +++ b/app/Auth/Google.php @@ -40,7 +40,7 @@ class Google extends Base $user = $this->user->getByGoogleId($google_id); if (! empty($user)) { - $this->userSession->refresh($user); + $this->userSession->initialize($user); $this->container['dispatcher']->dispatch('auth.success', new AuthEvent(self::AUTH_NAME, $user['id'])); return true; } |