PLT-519 toggle team creation link based on config setting

Этот коммит содержится в:
=Corey Hulen
2015-10-06 13:44:52 -07:00
родитель fe802fb9c4
Коммит 378d975eaa
3 изменённых файлов: 25 добавлений и 18 удалений

Просмотреть файл

@@ -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