Merge pull request #538 from lucadegasperi/patch-4

Update AbstractGrant.php
This commit is contained in:
Alex Bilbie 2016-04-11 15:28:26 +01:00
commit 0178a837d4

View File

@ -148,7 +148,7 @@ abstract class AbstractGrant implements GrantTypeInterface
$this->getServerParameter('PHP_AUTH_USER', $request)
);
if (is_null($clientId)) {
throw OAuthServerException::invalidRequest('client_id', '`%s` parameter is missing');
throw OAuthServerException::invalidRequest('client_id');
}
// If the client is confidential require the client secret