diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-08-11 14:35:08 -0400 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2016-08-11 13:35:08 -0500 |
commit | 20735470185e0b0ac1d15b975041ed9a2e0e43bc (patch) | |
tree | 3673bb31f3563a3b6a8bd7f7dc4d6b019f7619c7 /webapp | |
parent | 7bb6a439a8b4f714f544d1c350ad395aefb21880 (diff) | |
download | chat-20735470185e0b0ac1d15b975041ed9a2e0e43bc.tar.gz chat-20735470185e0b0ac1d15b975041ed9a2e0e43bc.tar.bz2 chat-20735470185e0b0ac1d15b975041ed9a2e0e43bc.zip |
Update licensing switches for Office365 and Google SSO through OAuth2 (#3786)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/admin_console/oauth_settings.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/admin_console/oauth_settings.jsx b/webapp/components/admin_console/oauth_settings.jsx index 1f377bcc3..716889401 100644 --- a/webapp/components/admin_console/oauth_settings.jsx +++ b/webapp/components/admin_console/oauth_settings.jsx @@ -402,10 +402,10 @@ export default class OAuthSettings extends AdminSettings { oauthTypes.push({value: 'off', text: Utils.localizeMessage('admin.oauth.off', 'Do not allow sign-in via an OAuth 2.0 provider.')}); oauthTypes.push({value: Constants.GITLAB_SERVICE, text: Utils.localizeMessage('admin.oauth.gitlab', 'GitLab')}); if (global.window.mm_license.IsLicensed === 'true') { - if (global.window.mm_license.GoogleSSO === 'true') { + if (global.window.mm_license.GoogleOAuth === 'true') { oauthTypes.push({value: Constants.GOOGLE_SERVICE, text: Utils.localizeMessage('admin.oauth.google', 'Google Apps')}); } - if (global.window.mm_license.Office365SSO === 'true') { + if (global.window.mm_license.Office365OAuth === 'true') { oauthTypes.push({value: Constants.OFFICE365_SERVICE, text: Utils.localizeMessage('admin.oauth.office365', 'Office 365 (Beta)')}); } } |