diff options
author | Corey Hulen <corey@hulen.com> | 2015-12-22 11:01:24 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-12-22 11:01:24 -0800 |
commit | 0a614435a9d5fba18f23647d074bae4caeab9c3a (patch) | |
tree | 5885ad8d9a657814f4e85775889caa15fc0c553c /web | |
parent | a960cf5244ed930d694a4ddafb561d6d7e7a0a02 (diff) | |
parent | f08d575a14c882f44c1bd7538b9f3734b6cb0fe7 (diff) | |
download | chat-0a614435a9d5fba18f23647d074bae4caeab9c3a.tar.gz chat-0a614435a9d5fba18f23647d074bae4caeab9c3a.tar.bz2 chat-0a614435a9d5fba18f23647d074bae4caeab9c3a.zip |
Merge pull request #1762 from mattermost/fix-signup
Fixing signup
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/signup_team.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/components/signup_team.jsx b/web/react/components/signup_team.jsx index 0e05bc533..a554427d5 100644 --- a/web/react/components/signup_team.jsx +++ b/web/react/components/signup_team.jsx @@ -28,6 +28,8 @@ export default class TeamSignUp extends React.Component { this.state = {page: 'email'}; } else if (global.window.mm_config.EnableSignUpWithGitLab === 'true') { this.state = {page: 'gitlab'}; + } else { + this.state = {page: 'none'}; } } @@ -119,6 +121,8 @@ export default class TeamSignUp extends React.Component { <SSOSignupPage service={Constants.GOOGLE_SERVICE} /> </div> ); + } else if (this.state.page === 'none') { + return (<div>{'No team creation method has been enabled. Please contact an administrator for access.'}</div>); } } } |