Explorar el Código

fix(ldap): updated to ldap bindDN and bindPassword is allowed to be empty, fixes #2439

Torkel Ödegaard hace 10 años
padre
commit
9dc779927b
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      pkg/login/settings.go

+ 0 - 2
pkg/login/settings.go

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