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