From 5b03859467c39bd1a4298393a339a0feefde86ad Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Tue, 30 Apr 2013 15:08:03 +0100 Subject: [PATCH] Removed unnecessary code --- src/OAuth2/Grant/Password.php | 2 -- 1 file changed, 2 deletions(-) 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();