mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
fix: some races when accessing ldap/openid config globally (#14978)
This commit is contained in:
@@ -218,7 +218,7 @@ func getClaimsFromTokenWithSecret(token, secret string) (map[string]interface{},
|
||||
}
|
||||
|
||||
// If AuthZPlugin is set, return without any further checks.
|
||||
if globalAuthZPlugin != nil {
|
||||
if newGlobalAuthZPluginFn() != nil {
|
||||
return claims.Map(), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user