summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-10-30 10:57:25 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-10-30 10:57:25 -0400
commit256be4c14dfd99fc923d497cc6d7dfe3f4e8e3c5 (patch)
treef85d6a4707eaab904694aa4fc42aca917f03fdc4 /utils
parentc2cd58a33f52c6567e39d8ba563425dc06916d41 (diff)
parentbedf85a122359a70cbb21be1219a5d566466273e (diff)
downloadchat-256be4c14dfd99fc923d497cc6d7dfe3f4e8e3c5.tar.gz
chat-256be4c14dfd99fc923d497cc6d7dfe3f4e8e3c5.tar.bz2
chat-256be4c14dfd99fc923d497cc6d7dfe3f4e8e3c5.zip
Merge pull request #1211 from mattermost/PLT-340
PLT-340 allow team directory and open invites
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 6b34c76ed..13b7b6b64 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -190,6 +190,7 @@ func getClientConfig(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["EnableTeamListing"] = strconv.FormatBool(*c.TeamSettings.EnableTeamListing)
props["EnableOAuthServiceProvider"] = strconv.FormatBool(c.ServiceSettings.EnableOAuthServiceProvider)