From 4ea9635b502ed41f541ae27713f7736fdeda0ce7 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Fri, 28 Aug 2015 10:02:45 -0400 Subject: Remove Google as a SSO service. --- web/react/components/login.jsx | 12 ------------ web/react/components/signup_user_complete.jsx | 9 --------- web/react/components/team_signup_choose_auth.jsx | 18 ------------------ web/react/components/team_signup_with_sso.jsx | 12 ------------ web/react/utils/constants.jsx | 1 - 5 files changed, 52 deletions(-) (limited to 'web/react') diff --git a/web/react/components/login.jsx b/web/react/components/login.jsx index 489ff6960..0f3aa42db 100644 --- a/web/react/components/login.jsx +++ b/web/react/components/login.jsx @@ -110,18 +110,6 @@ export default class Login extends React.Component { ); } - if (authServices.indexOf(Constants.GOOGLE_SERVICE) !== -1) { - loginMessage.push( - - - with Google Apps - - ); - } - var errorClass = ''; if (serverError) { errorClass = ' has-error'; diff --git a/web/react/components/signup_user_complete.jsx b/web/react/components/signup_user_complete.jsx index e5c602c16..2080cc191 100644 --- a/web/react/components/signup_user_complete.jsx +++ b/web/react/components/signup_user_complete.jsx @@ -162,15 +162,6 @@ module.exports = React.createClass({ ); } - if (authServices.indexOf(Constants.GOOGLE_SERVICE) >= 0) { - signupMessage.push( - - - with Google - - ); - } - var emailSignup; if (authServices.indexOf(Constants.EMAIL_SERVICE) !== -1) { emailSignup = ( diff --git a/web/react/components/team_signup_choose_auth.jsx b/web/react/components/team_signup_choose_auth.jsx index 2d35785c2..92ade5d24 100644 --- a/web/react/components/team_signup_choose_auth.jsx +++ b/web/react/components/team_signup_choose_auth.jsx @@ -28,24 +28,6 @@ export default class ChooseAuthPage extends React.Component { ); } - if (this.props.services.indexOf(Constants.GOOGLE_SERVICE) !== -1) { - buttons.push( - - - Create new {strings.Team} with Google Apps Account - - ); - } - if (this.props.services.indexOf(Constants.EMAIL_SERVICE) !== -1) { buttons.push( Create {strings.Team} with GitLab Account ); - } else if (this.props.service === Constants.GOOGLE_SERVICE) { - button = ( - - - Create {strings.Team} with Google Apps Account - - ); } return ( diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index 6678790e2..8721ced7c 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -60,7 +60,6 @@ module.exports = { DEFAULT_CHANNEL: 'town-square', OFFTOPIC_CHANNEL: 'off-topic', GITLAB_SERVICE: 'gitlab', - GOOGLE_SERVICE: 'google', EMAIL_SERVICE: 'email', POST_CHUNK_SIZE: 60, MAX_POST_CHUNKS: 3, -- cgit v1.2.3-1-g7c22