PLT-2972 Fix config Desanitaze (#3018)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
52694f676e
Коммит
50454bc81e
@@ -285,7 +285,7 @@ func ValidateLdapFilter(cfg *model.Config) *model.AppError {
|
||||
}
|
||||
|
||||
func Desanitize(cfg *model.Config) {
|
||||
if *cfg.LdapSettings.BindPassword == model.FAKE_SETTING {
|
||||
if cfg.LdapSettings.BindPassword != nil && *cfg.LdapSettings.BindPassword == model.FAKE_SETTING {
|
||||
*cfg.LdapSettings.BindPassword = *Cfg.LdapSettings.BindPassword
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user