summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-10-20 17:30:24 -0700
committer=Corey Hulen <corey@hulen.com>2015-10-20 17:30:24 -0700
commitb9ce4a644d8e97ed05acb79033ea2f5043494ee4 (patch)
tree18856536744f9eb93a779997a006973c0ae6c2b7 /utils/config.go
parent7ea8268ae88ecd3b94c0bf9bafbc169c50df4595 (diff)
downloadchat-b9ce4a644d8e97ed05acb79033ea2f5043494ee4.tar.gz
chat-b9ce4a644d8e97ed05acb79033ea2f5043494ee4.tar.bz2
chat-b9ce4a644d8e97ed05acb79033ea2f5043494ee4.zip
PLT-350 allow ability to disable restricted team names
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 e3349650b..15d6b217c 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -182,6 +182,7 @@ func getClientProperties(c *model.Config) map[string]string {
props["SiteName"] = c.TeamSettings.SiteName
props["EnableTeamCreation"] = strconv.FormatBool(c.TeamSettings.EnableTeamCreation)
+ props["RestrictTeamNames"] = strconv.FormatBool(*c.TeamSettings.RestrictTeamNames)
props["EnableOAuthServiceProvider"] = strconv.FormatBool(c.ServiceSettings.EnableOAuthServiceProvider)