From a675271ad71b7713d1b33bdba3c51b2b04813229 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 15 Nov 2015 12:50:33 -0500 Subject: Rewrite of session management --- app/Auth/Gitlab.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Auth/Gitlab.php') diff --git a/app/Auth/Gitlab.php b/app/Auth/Gitlab.php index a59bc1fa..698b59c3 100644 --- a/app/Auth/Gitlab.php +++ b/app/Auth/Gitlab.php @@ -39,7 +39,7 @@ class Gitlab extends Base $user = $this->user->getByGitlabId($gitlab_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; } -- cgit v1.2.3