summaryrefslogtreecommitdiff
path: root/app/Auth/ReverseProxy.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Auth/ReverseProxy.php')
-rw-r--r--app/Auth/ReverseProxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Auth/ReverseProxy.php b/app/Auth/ReverseProxy.php
index 1910ad35..d119ca98 100644
--- a/app/Auth/ReverseProxy.php
+++ b/app/Auth/ReverseProxy.php
@@ -48,7 +48,7 @@ class ReverseProxy extends Base
$user = $this->user->getByUsername($login);
}
- $this->userSession->refresh($user);
+ $this->userSession->initialize($user);
$this->container['dispatcher']->dispatch('auth.success', new AuthEvent(self::AUTH_NAME, $user['id']));
return true;