summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-07-26 10:25:27 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-07-26 10:25:27 -0400
commit00291c652ed7dba4649d50243bbde1633722d3df (patch)
treeef0a3b818bd1642bb81b9f468b7aec700b1f81be /model
parent13b7368f9df68d5f48613602d5a2fe60ac2dfd7e (diff)
downloadchat-00291c652ed7dba4649d50243bbde1633722d3df.tar.gz
chat-00291c652ed7dba4649d50243bbde1633722d3df.tar.bz2
chat-00291c652ed7dba4649d50243bbde1633722d3df.zip
Removing validation on LDAP bind username and password (#3670)
Diffstat (limited to 'model')
-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, "")
}