mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Warn user if there are no mappings (#5246)
This commit is contained in:
parent
aad76d9220
commit
65aa6df45c
@ -164,6 +164,7 @@ func (a *ldapAuther) syncUserInfo(user *m.User, ldapUser *ldapUserInfo) error {
|
||||
|
||||
func (a *ldapAuther) syncOrgRoles(user *m.User, ldapUser *ldapUserInfo) error {
|
||||
if len(a.server.LdapGroups) == 0 {
|
||||
log.Warn("Ldap: no group mappings defined")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user