summaryrefslogtreecommitdiffstats
path: root/utils/license.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/license.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/license.go')
-rw-r--r--utils/license.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/license.go b/utils/license.go
index 246cc553e..f0a91665e 100644
--- a/utils/license.go
+++ b/utils/license.go
@@ -123,8 +123,8 @@ func getClientLicense(l *model.License) map[string]string {
props["MFA"] = strconv.FormatBool(*l.Features.MFA)
props["SAML"] = strconv.FormatBool(*l.Features.SAML)
props["Cluster"] = strconv.FormatBool(*l.Features.Cluster)
- props["GoogleSSO"] = strconv.FormatBool(*l.Features.GoogleSSO)
- props["Office365SSO"] = strconv.FormatBool(*l.Features.Office365SSO)
+ props["GoogleOAuth"] = strconv.FormatBool(*l.Features.GoogleOAuth)
+ props["Office365OAuth"] = strconv.FormatBool(*l.Features.Office365OAuth)
props["Compliance"] = strconv.FormatBool(*l.Features.Compliance)
props["CustomBrand"] = strconv.FormatBool(*l.Features.CustomBrand)
props["MHPNS"] = strconv.FormatBool(*l.Features.MHPNS)