summaryrefslogtreecommitdiff
path: root/app/Auth/Google.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Auth/Google.php')
-rw-r--r--app/Auth/Google.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Auth/Google.php b/app/Auth/Google.php
index f779cfe5..e7abae08 100644
--- a/app/Auth/Google.php
+++ b/app/Auth/Google.php
@@ -36,7 +36,7 @@ class Google extends Base
$user = $this->user->getByGoogleId($google_id);
if ($user) {
- $this->user->updateSession($user);
+ $this->userSession->refresh($user);
$this->container['dispatcher']->dispatch('auth.success', new AuthEvent(self::AUTH_NAME, $user['id']));
return true;
}