summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/config.go')
-rw-r--r--model/config.go17
1 files changed, 11 insertions, 6 deletions
diff --git a/model/config.go b/model/config.go
index db3030170..5e6a676ae 100644
--- a/model/config.go
+++ b/model/config.go
@@ -996,12 +996,13 @@ type PrivacySettings struct {
}
type SupportSettings struct {
- TermsOfServiceLink *string
- PrivacyPolicyLink *string
- AboutLink *string
- HelpLink *string
- ReportAProblemLink *string
- SupportEmail *string
+ TermsOfServiceLink *string
+ PrivacyPolicyLink *string
+ AboutLink *string
+ HelpLink *string
+ ReportAProblemLink *string
+ SupportEmail *string
+ CustomServiceTermsEnabled *bool
}
func (s *SupportSettings) SetDefaults() {
@@ -1048,6 +1049,10 @@ func (s *SupportSettings) SetDefaults() {
if s.SupportEmail == nil {
s.SupportEmail = NewString(SUPPORT_SETTINGS_DEFAULT_SUPPORT_EMAIL)
}
+
+ if s.CustomServiceTermsEnabled == nil {
+ s.CustomServiceTermsEnabled = NewBool(false)
+ }
}
type AnnouncementSettings struct {