diff options
author | Christopher Speller <crspeller@gmail.com> | 2018-06-04 09:48:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 09:48:26 -0700 |
commit | 2c75247c97d0277944975deb9595b5f82a80e91e (patch) | |
tree | bd2bf76858fa308fc72b7f48860e6c291622149f /model | |
parent | bd7c9f86424a8d6609ad602e2225c4438d136415 (diff) | |
download | chat-2c75247c97d0277944975deb9595b5f82a80e91e.tar.gz chat-2c75247c97d0277944975deb9595b5f82a80e91e.tar.bz2 chat-2c75247c97d0277944975deb9595b5f82a80e91e.zip |
MM-10348 Adding experimental hardened mode. (#8881)
* Adding experimental hardened mode.
* Sanitizing all 500 errors.
Diffstat (limited to 'model')
-rw-r--r-- | model/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go index 074632a67..ebd90a372 100644 --- a/model/config.go +++ b/model/config.go @@ -226,6 +226,7 @@ type ServiceSettings struct { ImageProxyURL *string ImageProxyOptions *string EnableAPITeamDeletion *bool + ExperimentalEnableHardenedMode *bool } func (s *ServiceSettings) SetDefaults() { @@ -458,6 +459,10 @@ func (s *ServiceSettings) SetDefaults() { if s.EnableAPITeamDeletion == nil { s.EnableAPITeamDeletion = NewBool(false) } + + if s.ExperimentalEnableHardenedMode == nil { + s.ExperimentalEnableHardenedMode = NewBool(false) + } } type ClusterSettings struct { |