Removed unnecessary statement from PersistentTokenBasedRememberMeServices.php

This commit is contained in:
Dawid Nowak 2015-05-07 21:46:37 +02:00
parent e60f715920
commit c7a91f1a01

View File

@ -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,