diff options
author | =Corey Hulen <corey@hulen.com> | 2015-12-21 14:36:12 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-12-21 14:36:12 -0800 |
commit | f08d575a14c882f44c1bd7538b9f3734b6cb0fe7 (patch) | |
tree | 5885ad8d9a657814f4e85775889caa15fc0c553c /web | |
parent | a960cf5244ed930d694a4ddafb561d6d7e7a0a02 (diff) | |
download | chat-f08d575a14c882f44c1bd7538b9f3734b6cb0fe7.tar.gz chat-f08d575a14c882f44c1bd7538b9f3734b6cb0fe7.tar.bz2 chat-f08d575a14c882f44c1bd7538b9f3734b6cb0fe7.zip |
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>); } } } |