diff options
author | =Corey Hulen <corey@hulen.com> | 2015-10-06 13:44:52 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-10-06 13:44:52 -0700 |
commit | 378d975eaa53d6c153c44471f03f9b49660cf0b0 (patch) | |
tree | f574d68e70dee5c2e50bd2d625763bd439af1770 /utils | |
parent | fe802fb9c4afdf27a2fb56eb472f48eb921b4de0 (diff) | |
download | chat-378d975eaa53d6c153c44471f03f9b49660cf0b0.tar.gz chat-378d975eaa53d6c153c44471f03f9b49660cf0b0.tar.bz2 chat-378d975eaa53d6c153c44471f03f9b49660cf0b0.zip |
PLT-519 toggle team creation link based on config setting
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go index 44c4c43af..90e44259a 100644 --- a/utils/config.go +++ b/utils/config.go @@ -179,6 +179,8 @@ func getClientProperties(c *model.Config) map[string]string { props["BuildHash"] = model.BuildHash props["SiteName"] = c.TeamSettings.SiteName + props["EnableTeamCreation"] = strconv.FormatBool(c.TeamSettings.EnableTeamCreation) + props["EnableOAuthServiceProvider"] = strconv.FormatBool(c.ServiceSettings.EnableOAuthServiceProvider) props["SegmentDeveloperKey"] = c.ServiceSettings.SegmentDeveloperKey |