diff --git a/model/config.go b/model/config.go index d7e4cac91f..05d574cb23 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, "") }