Fix ClaimsToIdentify to return identity with all authenticated roles
This commit is contained in:
parent
7cf6c18d81
commit
67d7882b8e
@ -168,5 +168,5 @@ func ClaimsToIdentity(c jwt.MapClaims) (i *identity) {
|
||||
}
|
||||
}
|
||||
|
||||
return
|
||||
return Authenticated(i.id, i.memberOf...)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user