diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-04 22:34:59 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-04 22:34:59 -0500 |
commit | 99d27e0ce4f48454808d2325cb407b5b35cf5e88 (patch) | |
tree | 3c518cf08499890d46b9d2f65724d46617e1fc67 /app/Auth/Database.php | |
parent | d1d04d6feeebeba2aea5333d7a4229fcec799f75 (diff) |
Allow users to override the timezone and the language
Diffstat (limited to 'app/Auth/Database.php')
-rw-r--r-- | app/Auth/Database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Auth/Database.php b/app/Auth/Database.php index bdb2aeb6..2804b9a8 100644 --- a/app/Auth/Database.php +++ b/app/Auth/Database.php @@ -33,7 +33,7 @@ class Database extends Base $user = $this->db->table(User::TABLE)->eq('username', $username)->eq('is_ldap_user', 0)->findOne(); if ($user && password_verify($password, $user['password'])) { - $this->user->updateSession($user); + $this->userSession->refresh($user); $this->container['dispatcher']->dispatch('auth.success', new AuthEvent(self::AUTH_NAME, $user['id'])); return true; } |