mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-03 10:41:51 +05:30
Revert comparison order, as suggested by @Sephster
This commit is contained in:
parent
170ce2fd2d
commit
203be5ca20
@ -96,7 +96,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant
|
|||||||
{
|
{
|
||||||
return (
|
return (
|
||||||
isset($request->getQueryParams()['response_type'])
|
isset($request->getQueryParams()['response_type'])
|
||||||
&& 'token' === $request->getQueryParams()['response_type']
|
&& $request->getQueryParams()['response_type'] === 'token'
|
||||||
&& isset($request->getQueryParams()['client_id'])
|
&& isset($request->getQueryParams()['client_id'])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user