LDAP: log that organization mapping is skipped (#56796)

This commit is contained in:
Gabriel MABILLE 2022-10-12 14:41:11 +02:00 committed by GitHub
parent 78061260fb
commit 5fcec05695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -449,6 +449,7 @@ func (server *Server) buildGrafanaUser(user *ldap.Entry) (*models.ExternalUserIn
// Skipping org role sync // Skipping org role sync
if SkipOrgRoleSync() { if SkipOrgRoleSync() {
server.log.Debug("skipping organization role mapping.")
return extUser, nil return extUser, nil
} }