Skip to content

Commit

Permalink
Update AbstractGrant.php
Browse files Browse the repository at this point in the history
Temporarily removing check on empty scopes as causing issues for Passport users
  • Loading branch information
Sephster authored Dec 23, 2017
1 parent 276d5b6 commit a0cabb5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Grant/AbstractGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,6 @@ public function validateScopes($scopes, $redirectUri = null)
$validScopes[] = $scope;
}

if (empty($validScopes)) {
throw OAuthServerException::invalidScope('', $redirectUri);
}

return $validScopes;
}

Expand Down

0 comments on commit a0cabb5

Please sign in to comment.