mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Removed old die statement
This commit is contained in:
parent
5da9088410
commit
b7d73accdc
@ -197,7 +197,7 @@ class Server
|
|||||||
foreach ($scopes as $scope) {
|
foreach ($scopes as $scope) {
|
||||||
|
|
||||||
$scopeDetails = $this->dbcall('getScope', $scope);
|
$scopeDetails = $this->dbcall('getScope', $scope);
|
||||||
//die(var_dump($scopeDetails));
|
|
||||||
if ($scopeDetails === false) {
|
if ($scopeDetails === false) {
|
||||||
|
|
||||||
throw new OAuthServerClientException(sprintf($this->errors['invalid_scope'], $scope), 4);
|
throw new OAuthServerClientException(sprintf($this->errors['invalid_scope'], $scope), 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user