mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Merge pull request #538 from lucadegasperi/patch-4
Update AbstractGrant.php
This commit is contained in:
commit
0178a837d4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user