mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Fix #169
This commit is contained in:
@@ -30,7 +30,7 @@ class InvalidScopeException extends OAuthException
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
||||
public function __construct($parameter)
|
||||
public function __construct($parameter, $shouldRedirect = false)
|
||||
{
|
||||
parent::__construct(
|
||||
sprintf(
|
||||
@@ -38,5 +38,7 @@ class InvalidScopeException extends OAuthException
|
||||
$parameter
|
||||
)
|
||||
);
|
||||
|
||||
$this->serverShouldRedirect = $shouldRedirect;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user