summaryrefslogtreecommitdiff
path: root/app/Auth/Github.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Auth/Github.php')
-rw-r--r--app/Auth/Github.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Auth/Github.php b/app/Auth/Github.php
index b89dc5b8..4777152a 100644
--- a/app/Auth/Github.php
+++ b/app/Auth/Github.php
@@ -39,7 +39,7 @@ class Github extends Base
$user = $this->user->getByGithubId($github_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;
}