diff options
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 00322156e..e2f05d72e 100644 --- a/model/config.go +++ b/model/config.go @@ -203,6 +203,7 @@ type ServiceSettings struct { EnableUserTypingMessages *bool EnableChannelViewedMessages *bool EnableUserStatuses *bool + ExperimentalEnableAuthenticationTransfer *bool ClusterLogTimeoutMilliseconds *int CloseUnusedDirectMessages *bool EnablePreviewFeatures *bool @@ -391,6 +392,10 @@ func (s *ServiceSettings) SetDefaults() { s.AllowEditPost = NewString(ALLOW_EDIT_POST_ALWAYS) } + if s.ExperimentalEnableAuthenticationTransfer == nil { + s.ExperimentalEnableAuthenticationTransfer = NewBool(true) + } + if s.PostEditTimeLimit == nil { s.PostEditTimeLimit = NewInt(300) } |