summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-12-11 08:47:46 -0500
committerChristopher Speller <crspeller@gmail.com>2015-12-11 08:47:46 -0500
commit607a8151de502bf45de131ef3632c741ad452333 (patch)
treeaa2b933f3c73ac739a758d6c7fd86720abdc1341 /utils/config.go
parentd327461017849404b7f4f5a523b17e4bbde8e77c (diff)
parent9c79f02ca44961feef36b933be7e0ebec06fa427 (diff)
downloadchat-607a8151de502bf45de131ef3632c741ad452333.tar.gz
chat-607a8151de502bf45de131ef3632c741ad452333.tar.bz2
chat-607a8151de502bf45de131ef3632c741ad452333.zip
Merge pull request #1703 from rgarmsen2295/plt-583
PLT-583 Disables the ability to send email invites when user creation is disabled
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index 93edc0214..4c8e0b5a1 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -183,6 +183,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["SiteName"] = c.TeamSettings.SiteName
props["EnableTeamCreation"] = strconv.FormatBool(c.TeamSettings.EnableTeamCreation)
+ props["EnableUserCreation"] = strconv.FormatBool(c.TeamSettings.EnableUserCreation)
props["RestrictTeamNames"] = strconv.FormatBool(*c.TeamSettings.RestrictTeamNames)
props["EnableTeamListing"] = strconv.FormatBool(*c.TeamSettings.EnableTeamListing)