diff options
author | enahum <nahumhbl@gmail.com> | 2016-05-16 12:15:31 -0300 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-05-16 11:15:31 -0400 |
commit | 52694f676ef5651a89e16931ace2b1d77bbb5f19 (patch) | |
tree | 29c93eef982268868e3ddf6cfec8705b30d69255 /model | |
parent | 3564df106dabe89e33062017d893a80acd527c70 (diff) | |
download | chat-52694f676ef5651a89e16931ace2b1d77bbb5f19.tar.gz chat-52694f676ef5651a89e16931ace2b1d77bbb5f19.tar.bz2 chat-52694f676ef5651a89e16931ace2b1d77bbb5f19.zip |
PLT-2965 Fix config sanitation (#3005)
Diffstat (limited to 'model')
-rw-r--r-- | model/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/config.go b/model/config.go index eb25948fd..9a7e3b7c5 100644 --- a/model/config.go +++ b/model/config.go @@ -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 } |