summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-08-28 07:33:01 -0700
committerCorey Hulen <corey@hulen.com>2015-08-28 07:33:01 -0700
commitbdf53884f567a46216fc1b8f3462fd15ab53ae92 (patch)
treeb747f0911f5e540d6f00354ab72f2e10ef0a9905 /web/react/components
parent604166068ea8cd881a1c0a513cea3f992e9a65ea (diff)
parent4ea9635b502ed41f541ae27713f7736fdeda0ce7 (diff)
downloadchat-bdf53884f567a46216fc1b8f3462fd15ab53ae92.tar.gz
chat-bdf53884f567a46216fc1b8f3462fd15ab53ae92.tar.bz2
chat-bdf53884f567a46216fc1b8f3462fd15ab53ae92.zip
Merge pull request #514 from mattermost/mm-2039
MM-2039 Remove Google as a SSO service.
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/login.jsx12
-rw-r--r--web/react/components/signup_user_complete.jsx9
-rw-r--r--web/react/components/team_signup_choose_auth.jsx18
-rw-r--r--web/react/components/team_signup_with_sso.jsx12
4 files changed, 0 insertions, 51 deletions
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(
- <a
- className='btn btn-custom-login google'
- href={'/' + teamName + '/login/google'}
- >
- <span className='icon' />
- <span>with Google Apps</span>
- </a>
- );
- }
-
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(
- <a className='btn btn-custom-login google' href={'/' + this.props.teamName + '/signup/google' + window.location.search}>
- <span className='icon' />
- <span>with Google</span>
- </a>
- );
- }
-
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(
- <a
- className='btn btn-custom-login google btn-full'
- href='#'
- onClick={
- function clickGoogle(e) {
- e.preventDefault();
- this.props.updatePage('service', Constants.GOOGLE_SERVICE);
- }.bind(this)
- }
- >
- <span className='icon' />
- <span>Create new {strings.Team} with Google Apps Account</span>
- </a>
- );
- }
-
if (this.props.services.indexOf(Constants.EMAIL_SERVICE) !== -1) {
buttons.push(
<a
diff --git a/web/react/components/team_signup_with_sso.jsx b/web/react/components/team_signup_with_sso.jsx
index 57996d7cc..6cb62efc7 100644
--- a/web/react/components/team_signup_with_sso.jsx
+++ b/web/react/components/team_signup_with_sso.jsx
@@ -86,18 +86,6 @@ export default class SSOSignUpPage extends React.Component {
<span>Create {strings.Team} with GitLab Account</span>
</a>
);
- } else if (this.props.service === Constants.GOOGLE_SERVICE) {
- button = (
- <a
- className='btn btn-custom-login google btn-full'
- href='#'
- onClick={this.handleSubmit}
- disabled={disabled}
- >
- <span className='icon'/>
- <span>Create {strings.Team} with Google Apps Account</span>
- </a>
- );
}
return (