expose ServiceSettings.ExtendSessionLengthWithActivity config to clients (#14516)

Этот коммит содержится в:
Doug Lauder
2020-05-13 12:31:43 -04:00
коммит произвёл GitHub
родитель 4fde004a5b
Коммит e27b86cae0
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@@ -46,6 +46,7 @@ func GenerateClientConfig(c *model.Config, diagnosticID string, license *model.L
props["EnableSVGs"] = strconv.FormatBool(*c.ServiceSettings.EnableSVGs)
props["EnableMarketplace"] = strconv.FormatBool(*c.PluginSettings.EnableMarketplace)
props["EnableLatex"] = strconv.FormatBool(*c.ServiceSettings.EnableLatex)
props["ExtendSessionLengthWithActivity"] = strconv.FormatBool(*c.ServiceSettings.ExtendSessionLengthWithActivity)
// This setting is only temporary, so keep using the old setting name for the mobile and web apps
props["ExperimentalEnablePostMetadata"] = "true"