Removed null as default for parameters

This commit is contained in:
Alex Bilbie
2013-05-08 19:36:00 -07:00
parent 8b154054c3
commit dbe21cc5a7
3 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ class AuthCode implements GrantTypeInterface {
}
// Validate client ID and redirect URI
$clientDetails = $this->authServer->getStorage('client')->getClient($authParams['client_id'], null, $authParams['redirect_uri']);
$clientDetails = $this->authServer->getStorage('client')->getClient($authParams['client_id'], null, $authParams['redirect_uri'], $this->identifier);
if ($clientDetails === false) {
throw new Exception\ClientException($this->authServer->getExceptionMessage('invalid_client'), 8);