mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 02:58:05 +01:00
reverted unintentional committed change
Signed-off-by: Kevin Schu <kevin.schu@aoe.com>
This commit is contained in:
parent
0679f4701e
commit
03b7b01f77
@ -350,7 +350,6 @@ func userInfoFromClaims(c claimsProvider, setting cfgModels.OIDCSetting) (*UserI
|
||||
if username, ok := allClaims[setting.UserClaim].(string); ok {
|
||||
res.Username = username
|
||||
} else {
|
||||
log.Debugf("OIDC. Failed to recover Username from claims: %+v", allClaims)
|
||||
log.Warningf("OIDC. Failed to recover Username from claim. Claim '%s' is invalid or not a string", setting.UserClaim)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user