reverted unintentional committed change

Signed-off-by: Kevin Schu <kevin.schu@aoe.com>
This commit is contained in:
Kevin Schu 2021-07-08 15:43:14 +02:00
parent 0679f4701e
commit 03b7b01f77

View File

@ -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)
}
}