PLT-2798 Config sanitation fails when no LDAP Settings are present in config.json (#2882)
Этот коммит содержится в:
@@ -615,7 +615,7 @@ func (o *Config) GetSanitizeOptions() map[string]bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (o *Config) Sanitize() {
|
func (o *Config) Sanitize() {
|
||||||
if len(*o.LdapSettings.BindPassword) > 0 {
|
if &o.LdapSettings != nil && len(*o.LdapSettings.BindPassword) > 0 {
|
||||||
*o.LdapSettings.BindPassword = FAKE_SETTING
|
*o.LdapSettings.BindPassword = FAKE_SETTING
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user