From 99d27e0ce4f48454808d2325cb407b5b35cf5e88 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 4 Jan 2015 22:34:59 -0500 Subject: Allow users to override the timezone and the language --- app/Auth/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Auth/Database.php') 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; } -- cgit v1.2.3