Skip 2FA for RememberMeAuth

This commit is contained in:
Frederic Guillot
2015-12-10 20:21:12 -05:00
parent 786e360d0b
commit 6e54cbd6e9

View File

@@ -53,6 +53,10 @@ class AuthSubscriber extends Base implements EventSubscriberInterface
$userAgent
);
if ($event->getAuthType() === 'RememberMe') {
$this->userSession->validatePostAuthentication();
}
$this->sessionStorage->hasSubtaskInProgress = $this->subtask->hasSubtaskInProgress($this->userSession->getId());
if (isset($this->sessionStorage->hasRememberMe) && $this->sessionStorage->hasRememberMe) {