mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Removing validation on LDAP bind username and password (#3670)
This commit is contained in:
committed by
Joram Wilander
parent
13b7368f9d
commit
00291c652e
@@ -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, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user