summaryrefslogtreecommitdiff
path: root/app/Auth/Database.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Auth/Database.php')
-rw-r--r--app/Auth/Database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Auth/Database.php b/app/Auth/Database.php
index 91b17a5f..c2041d4d 100644
--- a/app/Auth/Database.php
+++ b/app/Auth/Database.php
@@ -39,7 +39,7 @@ class Database extends Base
->findOne();
if (is_array($user) && password_verify($password, $user['password'])) {
- $this->userSession->refresh($user);
+ $this->userSession->initialize($user);
$this->container['dispatcher']->dispatch('auth.success', new AuthEvent(self::AUTH_NAME, $user['id']));
return true;
}