diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-08-28 19:49:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-28 19:49:01 +0200 |
commit | ae3865b5397b798f85151c51ec4e37187fc5f25a (patch) | |
tree | 535a95feb15dda0c6a8c4cba0f56de3124b92c39 /model | |
parent | 42806ae965b861955235698f247df862fd655d09 (diff) | |
download | chat-ae3865b5397b798f85151c51ec4e37187fc5f25a.tar.gz chat-ae3865b5397b798f85151c51ec4e37187fc5f25a.tar.bz2 chat-ae3865b5397b798f85151c51ec4e37187fc5f25a.zip |
MM-10532: Add EnableSyncWithLdapIncludeAuth config (#9319)
Diffstat (limited to 'model')
-rw-r--r-- | model/config.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/model/config.go b/model/config.go index 7fc5c567a..c0f443b72 100644 --- a/model/config.go +++ b/model/config.go @@ -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) } |