summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-21 11:31:31 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-21 11:31:31 -0400
commit0e49acede9b077a1533d9a55494277fbc952d47c (patch)
tree4991c8823458d57b127eff3106466188b6403675 /utils
parenta4e6cce98eb0c04deaa929ccd28b266e312c0ca1 (diff)
parent0bfdfd79f0071cfd41f2dfbe20d1cb099b57a15c (diff)
downloadchat-0e49acede9b077a1533d9a55494277fbc952d47c.tar.gz
chat-0e49acede9b077a1533d9a55494277fbc952d47c.tar.bz2
chat-0e49acede9b077a1533d9a55494277fbc952d47c.zip
Merge pull request #1131 from mattermost/PLT-350
PLT-350 allow ability to disable restricted team names
Diffstat (limited to 'utils')
-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)