PLT-2965 Fix config sanitation (#3005)

Этот коммит содержится в:
enahum
2016-05-16 12:15:31 -03:00
коммит произвёл Christopher Speller
родитель 3564df106d
Коммит 52694f676e

Просмотреть файл

@@ -615,7 +615,7 @@ func (o *Config) GetSanitizeOptions() map[string]bool {
}
func (o *Config) Sanitize() {
if &o.LdapSettings != nil && len(*o.LdapSettings.BindPassword) > 0 {
if o.LdapSettings.BindPassword != nil && len(*o.LdapSettings.BindPassword) > 0 {
*o.LdapSettings.BindPassword = FAKE_SETTING
}