summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-08-11 14:35:08 -0400
committerenahum <nahumhbl@gmail.com>2016-08-11 13:35:08 -0500
commit20735470185e0b0ac1d15b975041ed9a2e0e43bc (patch)
tree3673bb31f3563a3b6a8bd7f7dc4d6b019f7619c7 /utils/config.go
parent7bb6a439a8b4f714f544d1c350ad395aefb21880 (diff)
downloadchat-20735470185e0b0ac1d15b975041ed9a2e0e43bc.tar.gz
chat-20735470185e0b0ac1d15b975041ed9a2e0e43bc.tar.bz2
chat-20735470185e0b0ac1d15b975041ed9a2e0e43bc.zip
Update licensing switches for Office365 and Google SSO through OAuth2 (#3786)
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/config.go b/utils/config.go
index 6646a341e..6a4c9c90c 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -299,11 +299,11 @@ func getClientConfig(c *model.Config) map[string]string {
props["EnableCluster"] = strconv.FormatBool(*c.ClusterSettings.Enable)
}
- if *License.Features.GoogleSSO {
+ if *License.Features.GoogleOAuth {
props["EnableSignUpWithGoogle"] = strconv.FormatBool(c.GoogleSettings.Enable)
}
- if *License.Features.Office365SSO {
+ if *License.Features.Office365OAuth {
props["EnableSignUpWithOffice365"] = strconv.FormatBool(c.Office365Settings.Enable)
}