From 772804add8095eea9b3ec2a832c2f82fbb9a6fd5 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 31 Dec 2014 12:37:15 -0500 Subject: Acl refactoring --- app/Auth/RememberMe.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Auth') 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; -- cgit v1.2.3