mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-09 06:02:27 +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 (
|
||||
isset($request->getQueryParams()['response_type'])
|
||||
&& 'token' === $request->getQueryParams()['response_type']
|
||||
&& $request->getQueryParams()['response_type'] === 'token'
|
||||
&& isset($request->getQueryParams()['client_id'])
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user