diff options
Diffstat (limited to 'model/config.go')
-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 544f9b33f..918d15b9a 100644 --- a/model/config.go +++ b/model/config.go @@ -212,6 +212,7 @@ type ServiceSettings struct { ClusterLogTimeoutMilliseconds *int CloseUnusedDirectMessages *bool EnablePreviewFeatures *bool + EnableTutorial *bool } func (s *ServiceSettings) SetDefaults() { @@ -331,6 +332,10 @@ func (s *ServiceSettings) SetDefaults() { s.CloseUnusedDirectMessages = NewBool(false) } + if s.EnableTutorial == nil { + s.EnableTutorial = NewBool(true) + } + if s.SessionLengthWebInDays == nil { s.SessionLengthWebInDays = NewInt(30) } |