mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-26 06:59:49 +05:30
Update AbstractGrant.php
The hint is not necessary since it gets created by the exception with the parameter.
This commit is contained in:
parent
3e8577f889
commit
de635f826f
@ -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