summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2018-06-04 09:48:26 -0700
committerGitHub <noreply@github.com>2018-06-04 09:48:26 -0700
commit2c75247c97d0277944975deb9595b5f82a80e91e (patch)
treebd2bf76858fa308fc72b7f48860e6c291622149f /model/config.go
parentbd7c9f86424a8d6609ad602e2225c4438d136415 (diff)
downloadchat-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/config.go')
-rw-r--r--model/config.go5
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 {