Rewrite of session management
This commit is contained in:
@@ -101,10 +101,10 @@ class RememberMe extends Base
|
||||
);
|
||||
|
||||
// Create the session
|
||||
$this->userSession->refresh($this->user->getById($record['user_id']));
|
||||
$this->userSession->initialize($this->user->getById($record['user_id']));
|
||||
|
||||
// Do not ask 2FA for remember me session
|
||||
$this->session['2fa_validated'] = true;
|
||||
$this->sessionStorage->postAuth['validated'] = true;
|
||||
|
||||
$this->container['dispatcher']->dispatch(
|
||||
'auth.success',
|
||||
|
||||
Reference in New Issue
Block a user