mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(ldap): updated to ldap bindDN and bindPassword is allowed to be empty, fixes #2439
This commit is contained in:
@@ -63,8 +63,6 @@ func loadLdapConfig() {
|
||||
|
||||
// set default org id
|
||||
for _, server := range ldapCfg.Servers {
|
||||
assertNotEmptyCfg(server.Host, "host")
|
||||
assertNotEmptyCfg(server.BindDN, "bind_dn")
|
||||
assertNotEmptyCfg(server.SearchFilter, "search_filter")
|
||||
assertNotEmptyCfg(server.SearchBaseDNs, "search_base_dns")
|
||||
|
||||
|
Reference in New Issue
Block a user