PLT-2965 Fix config sanitation (#3005)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
3564df106d
Коммит
52694f676e
@@ -615,7 +615,7 @@ func (o *Config) GetSanitizeOptions() map[string]bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (o *Config) Sanitize() {
|
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
|
*o.LdapSettings.BindPassword = FAKE_SETTING
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user