diff --git a/src/OAuth2/Grant/Password.php b/src/OAuth2/Grant/Password.php index 4f95acfc..b8d098db 100644 --- a/src/OAuth2/Grant/Password.php +++ b/src/OAuth2/Grant/Password.php @@ -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();