Removed unnecessary statement from PersistentTokenBasedRememberMeServices.php
This commit is contained in:
parent
e60f715920
commit
c7a91f1a01
@ -98,7 +98,6 @@ class PersistentTokenBasedRememberMeServices extends AbstractRememberMeServices
|
|||||||
throw new AuthenticationException('The cookie has expired.');
|
throw new AuthenticationException('The cookie has expired.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$series = $persistentToken->getSeries();
|
|
||||||
$tokenValue = base64_encode($this->secureRandom->nextBytes(64));
|
$tokenValue = base64_encode($this->secureRandom->nextBytes(64));
|
||||||
$this->tokenProvider->updateToken($series, $tokenValue, new \DateTime());
|
$this->tokenProvider->updateToken($series, $tokenValue, new \DateTime());
|
||||||
$request->attributes->set(self::COOKIE_ATTR_NAME,
|
$request->attributes->set(self::COOKIE_ATTR_NAME,
|
||||||
|
Reference in New Issue
Block a user