summaryrefslogtreecommitdiff
path: root/app/Auth/RememberMe.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-31 12:37:15 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-31 12:37:15 -0500
commit772804add8095eea9b3ec2a832c2f82fbb9a6fd5 (patch)
tree782a414d15f9091d04bcf3960a957f952958e548 /app/Auth/RememberMe.php
parent66f150d887a34d2b51ff14f22d0fd41a34f8cc77 (diff)
Acl refactoring
Diffstat (limited to 'app/Auth/RememberMe.php')
-rw-r--r--app/Auth/RememberMe.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Auth/RememberMe.php b/app/Auth/RememberMe.php
index 9f2bb13a..fc2ea78d 100644
--- a/app/Auth/RememberMe.php
+++ b/app/Auth/RememberMe.php
@@ -102,11 +102,10 @@ class RememberMe extends Base
// Create the session
$this->user->updateSession($this->user->getById($record['user_id']));
- $this->acl->isRememberMe(true);
$this->container['dispatcher']->dispatch(
'auth.success',
- new AuthEvent(self::AUTH_NAME, $this->acl->getUserId())
+ new AuthEvent(self::AUTH_NAME, $this->userSession->getId())
);
return true;