PLT-2797 Remove LDAP Password Field Name setting (#2884)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
2c92540471
Коммит
04b61d1f38
@@ -194,8 +194,7 @@ type LdapSettings struct {
|
||||
QueryTimeout *int
|
||||
|
||||
// Customization
|
||||
LoginFieldName *string
|
||||
PasswordFieldName *string
|
||||
LoginFieldName *string
|
||||
}
|
||||
|
||||
type ComplianceSettings struct {
|
||||
@@ -429,11 +428,6 @@ func (o *Config) SetDefaults() {
|
||||
*o.LdapSettings.LoginFieldName = ""
|
||||
}
|
||||
|
||||
if o.LdapSettings.PasswordFieldName == nil {
|
||||
o.LdapSettings.PasswordFieldName = new(string)
|
||||
*o.LdapSettings.PasswordFieldName = ""
|
||||
}
|
||||
|
||||
if o.ServiceSettings.SessionLengthWebInDays == nil {
|
||||
o.ServiceSettings.SessionLengthWebInDays = new(int)
|
||||
*o.ServiceSettings.SessionLengthWebInDays = 30
|
||||
|
||||
Ссылка в новой задаче
Block a user