PLT-2797 Remove LDAP Password Field Name setting (#2884)

Этот коммит содержится в:
enahum
2016-05-05 10:36:58 -03:00
коммит произвёл Christopher Speller
родитель 2c92540471
Коммит 04b61d1f38
7 изменённых файлов: 1 добавлений и 51 удалений

Просмотреть файл

@@ -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