Removed unnecessary code

This commit is contained in:
Alex Bilbie 2013-04-30 15:08:03 +01:00
parent a661634194
commit 5b03859467

View File

@ -169,8 +169,6 @@ class Password implements GrantTypeInterface {
// Generate an access token
$accessToken = SecureKey::make();
$refreshToken = ($this->authServer->hasGrantType('refresh_token')) ? SecureKey::make() : null;
$accessTokenExpires = time() + $this->authServer->getExpiresIn();
$accessTokenExpiresIn = $this->authServer->getExpiresIn();