summaryrefslogtreecommitdiff
path: root/app/Model/RememberMe.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/RememberMe.php')
-rw-r--r--app/Model/RememberMe.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/Model/RememberMe.php b/app/Model/RememberMe.php
index 272b4916..e23ed887 100644
--- a/app/Model/RememberMe.php
+++ b/app/Model/RememberMe.php
@@ -92,11 +92,8 @@ class RememberMe extends Base
);
// Create the session
- $user = new User($this->db, $this->event);
- $acl = new Acl($this->db, $this->event);
-
- $user->updateSession($user->getById($record['user_id']));
- $acl->isRememberMe(true);
+ $this->user->updateSession($this->user->getById($record['user_id']));
+ $this->acl->isRememberMe(true);
return true;
}