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

(cherry picked from commit 5fcec05695)

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2022-10-12 15:03:10 +02:00
committed by GitHub
co-authored by Gabriel MABILLE
parent f01526e35b
commit e20953e4f8
+1
View File
@@ -449,6 +449,7 @@ func (server *Server) buildGrafanaUser(user *ldap.Entry) (*models.ExternalUserIn
// Skipping org role sync
if SkipOrgRoleSync() {
server.log.Debug("skipping organization role mapping.")
return extUser, nil
}