forked from mystiq/dex
Merge pull request #484 from bobbyrullo/scope
scope: don't validate empty scopes
This commit is contained in:
commit
e134d4d261
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ func (s Scopes) Contains(other Scopes) bool {
|
|||
|
||||
for _, scope := range other {
|
||||
if _, ok := rScopes[scope]; !ok {
|
||||
if scope == "" {
|
||||
continue
|
||||
}
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue