Rewrite of session management
This commit is contained in:
@@ -237,7 +237,7 @@ class Ldap extends Base
|
||||
}
|
||||
|
||||
// We open the session
|
||||
$this->userSession->refresh($user);
|
||||
$this->userSession->initialize($user);
|
||||
$this->container['dispatcher']->dispatch('auth.success', new AuthEvent(self::AUTH_NAME, $user['id']));
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user