Skip to content

Commit a0cabb5

Browse files
authored
Update AbstractGrant.php
Temporarily removing check on empty scopes as causing issues for Passport users
1 parent 276d5b6 commit a0cabb5

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Grant/AbstractGrant.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,6 @@ public function validateScopes($scopes, $redirectUri = null)
242242
$validScopes[] = $scope;
243243
}
244244

245-
if (empty($validScopes)) {
246-
throw OAuthServerException::invalidScope('', $redirectUri);
247-
}
248-
249245
return $validScopes;
250246
}
251247

0 commit comments

Comments
 (0)