Fix regression for subtask restriction

This commit is contained in:
Frederic Guillot
2015-12-12 16:52:12 -05:00
parent b834f5475c
commit dc40675f37
3 changed files with 2 additions and 3 deletions

View File

@@ -57,8 +57,6 @@ class AuthSubscriber extends Base implements EventSubscriberInterface
$this->userSession->validatePostAuthentication();
}
$this->sessionStorage->hasSubtaskInProgress = $this->subtask->hasSubtaskInProgress($this->userSession->getId());
if (isset($this->sessionStorage->hasRememberMe) && $this->sessionStorage->hasRememberMe) {
$session = $this->rememberMeSession->create($this->userSession->getId(), $ipAddress, $userAgent);
$this->rememberMeCookie->write($session['token'], $session['sequence'], $session['expiration']);