mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 21:19:46 +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)
|
$this->getServerParameter('PHP_AUTH_USER', $request)
|
||||||
);
|
);
|
||||||
if (is_null($clientId)) {
|
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
|
// If the client is confidential require the client secret
|
||||||
|
Loading…
Reference in New Issue
Block a user