diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-12-11 08:47:46 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-12-11 08:47:46 -0500 |
commit | 607a8151de502bf45de131ef3632c741ad452333 (patch) | |
tree | aa2b933f3c73ac739a758d6c7fd86720abdc1341 /utils | |
parent | d327461017849404b7f4f5a523b17e4bbde8e77c (diff) | |
parent | 9c79f02ca44961feef36b933be7e0ebec06fa427 (diff) | |
download | chat-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')
-rw-r--r-- | utils/config.go | 1 |
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) |