summaryrefslogtreecommitdiffstats
path: root/webapp/components
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components')
-rw-r--r--webapp/components/admin_console/oauth_settings.jsx4
-rw-r--r--webapp/components/signup_user_complete.jsx2
2 files changed, 3 insertions, 3 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)')});
}
}
diff --git a/webapp/components/signup_user_complete.jsx b/webapp/components/signup_user_complete.jsx
index 4c2668ece..9bb208c84 100644
--- a/webapp/components/signup_user_complete.jsx
+++ b/webapp/components/signup_user_complete.jsx
@@ -77,7 +77,7 @@ export default class SignupUserComplete extends React.Component {
loading = true;
GlobalActions.emitInitialLoad(
() => {
- browserHistory.push('/' + team.name);
+ browserHistory.push('/' + team.name + '/channels/town-square');
}
);
},