mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing signup
This commit is contained in:
@@ -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>);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user