MM-10532: Add EnableSyncWithLdapIncludeAuth config (#9319)

Этот коммит содержится в:
Jesús Espino
2018-08-28 19:49:01 +02:00
коммит произвёл GitHub
родитель 42806ae965
Коммит ae3865b539
3 изменённых файлов: 11 добавлений и 4 удалений

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

@@ -1457,8 +1457,9 @@ func (s *LocalizationSettings) SetDefaults() {
type SamlSettings struct {
// Basic
Enable *bool
EnableSyncWithLdap *bool
Enable *bool
EnableSyncWithLdap *bool
EnableSyncWithLdapIncludeAuth *bool
Verify *bool
Encrypt *bool
@@ -1500,6 +1501,10 @@ func (s *SamlSettings) SetDefaults() {
s.EnableSyncWithLdap = NewBool(false)
}
if s.EnableSyncWithLdapIncludeAuth == nil {
s.EnableSyncWithLdapIncludeAuth = NewBool(false)
}
if s.Verify == nil {
s.Verify = NewBool(true)
}