summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Duarte <csduarte@users.noreply.github.com>2017-11-28 11:46:48 -0800
committerChristopher Speller <crspeller@gmail.com>2017-11-28 11:46:48 -0800
commit27ba68a7894d5204b8d75dc7353774977d62fa15 (patch)
tree28af6c0900a1967ee8145575daca57c76f781d79 /utils
parent785a410936daff5db7fba07dc5735bd74dd158bb (diff)
downloadchat-27ba68a7894d5204b8d75dc7353774977d62fa15.tar.gz
chat-27ba68a7894d5204b8d75dc7353774977d62fa15.tar.bz2
chat-27ba68a7894d5204b8d75dc7353774977d62fa15.zip
Add Config to disable Auth Transfers. (#7843)
* Add Config to disable Auth Transfers. * Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/config.go b/utils/config.go
index a91a20711..929e39346 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -526,7 +526,6 @@ func getClientConfig(c *model.Config) map[string]string {
props["EnableEmojiPicker"] = strconv.FormatBool(*c.ServiceSettings.EnableEmojiPicker)
props["RestrictCustomEmojiCreation"] = *c.ServiceSettings.RestrictCustomEmojiCreation
props["MaxFileSize"] = strconv.FormatInt(*c.FileSettings.MaxFileSize, 10)
-
props["AppDownloadLink"] = *c.NativeAppSettings.AppDownloadLink
props["AndroidAppDownloadLink"] = *c.NativeAppSettings.AndroidAppDownloadLink
props["IosAppDownloadLink"] = *c.NativeAppSettings.IosAppDownloadLink
@@ -547,6 +546,7 @@ func getClientConfig(c *model.Config) map[string]string {
if IsLicensed() {
License := License()
props["ExperimentalTownSquareIsReadOnly"] = strconv.FormatBool(*c.TeamSettings.ExperimentalTownSquareIsReadOnly)
+ props["ExperimentalEnableAuthenticationTransfer"] = strconv.FormatBool(*c.ServiceSettings.ExperimentalEnableAuthenticationTransfer)
if *License.Features.CustomBrand {
props["EnableCustomBrand"] = strconv.FormatBool(*c.TeamSettings.EnableCustomBrand)