summaryrefslogtreecommitdiff
path: root/app/Auth/ReverseProxy.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-04 22:34:59 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-04 22:34:59 -0500
commit99d27e0ce4f48454808d2325cb407b5b35cf5e88 (patch)
tree3c518cf08499890d46b9d2f65724d46617e1fc67 /app/Auth/ReverseProxy.php
parentd1d04d6feeebeba2aea5333d7a4229fcec799f75 (diff)
Allow users to override the timezone and the language
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 9d766a5b..b84550cf 100644
--- a/app/Auth/ReverseProxy.php
+++ b/app/Auth/ReverseProxy.php
@@ -37,7 +37,7 @@ class ReverseProxy extends Base
$user = $this->user->getByUsername($login);
}
- $this->user->updateSession($user);
+ $this->userSession->refresh($user);
$this->container['dispatcher']->dispatch('auth.success', new AuthEvent(self::AUTH_NAME, $user['id']));
return true;