summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--model/config.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/model/config.go b/model/config.go
index d7e4cac91..05d574cb2 100644
--- a/model/config.go
+++ b/model/config.go
@@ -931,14 +931,6 @@ func (o *Config) IsValid() *AppError {
return NewLocAppError("Config.IsValid", "model.config.is_valid.ldap_basedn", nil, "")
}
- if *o.LdapSettings.BindUsername == "" {
- return NewLocAppError("Config.IsValid", "model.config.is_valid.ldap_bind_username", nil, "")
- }
-
- if *o.LdapSettings.BindPassword == "" {
- return NewLocAppError("Config.IsValid", "model.config.is_valid.ldap_bind_password", nil, "")
- }
-
if *o.LdapSettings.FirstNameAttribute == "" {
return NewLocAppError("Config.IsValid", "model.config.is_valid.ldap_firstname", nil, "")
}