Adding email to admin console
Этот коммит содержится в:
@@ -161,11 +161,8 @@ export default class SignupUserComplete extends React.Component {
|
||||
</div>
|
||||
);
|
||||
|
||||
// add options to log in using another service
|
||||
var authServices = JSON.parse(this.props.authServices);
|
||||
|
||||
var signupMessage = [];
|
||||
if (authServices.indexOf(Constants.GITLAB_SERVICE) >= 0) {
|
||||
if (global.window.config.AllowSignUpWithGitLab) {
|
||||
signupMessage.push(
|
||||
<a
|
||||
className='btn btn-custom-login gitlab'
|
||||
@@ -178,7 +175,7 @@ export default class SignupUserComplete extends React.Component {
|
||||
}
|
||||
|
||||
var emailSignup;
|
||||
if (authServices.indexOf(Constants.EMAIL_SERVICE) !== -1) {
|
||||
if (global.window.config.AllowSignUpWithEmail) {
|
||||
emailSignup = (
|
||||
<div>
|
||||
<div className='inner__content'>
|
||||
@@ -262,7 +259,6 @@ SignupUserComplete.defaultProps = {
|
||||
teamId: '',
|
||||
email: '',
|
||||
data: null,
|
||||
authServices: '',
|
||||
teamDisplayName: ''
|
||||
};
|
||||
SignupUserComplete.propTypes = {
|
||||
@@ -271,6 +267,5 @@ SignupUserComplete.propTypes = {
|
||||
teamId: React.PropTypes.string,
|
||||
email: React.PropTypes.string,
|
||||
data: React.PropTypes.string,
|
||||
authServices: React.PropTypes.string,
|
||||
teamDisplayName: React.PropTypes.string
|
||||
};
|
||||
|
||||
Ссылка в новой задаче
Block a user