Add Config to disable Auth Transfers. (#7843)
* Add Config to disable Auth Transfers. * Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
785a410936
Коммит
27ba68a789
@@ -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)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user