mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 02:08:56 +05:30
Added comment to explain code that removes invalid scopes
This commit is contained in:
parent
a292c4fe86
commit
2b6db69a5a
@ -154,6 +154,7 @@ maintenance of the server.'
|
||||
|
||||
$scopes = explode($this->config['scope_delimeter'], $scopes);
|
||||
|
||||
// Remove any junk scopes
|
||||
for ($i = 0; $i < count($scopes); $i++) {
|
||||
$scopes[$i] = trim($scopes[$i]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user