Adding service settings to admin console

Этот коммит содержится в:
=Corey Hulen
2015-09-22 12:12:50 -07:00
родитель 08a3acbb44
Коммит 88e5a71e8c
37 изменённых файлов: 631 добавлений и 297 удалений

Просмотреть файл

@@ -14,19 +14,19 @@ export default class TeamSignUp extends React.Component {
var count = 0;
if (global.window.config.AllowSignUpWithEmail === 'true') {
if (global.window.config.EnableSignUpWithEmail === 'true') {
count = count + 1;
}
if (global.window.config.AllowSignUpWithGitLab === 'true') {
if (global.window.config.EnableSignUpWithGitLab === 'true') {
count = count + 1;
}
if (count > 1) {
this.state = {page: 'choose'};
} else if (global.window.config.AllowSignUpWithEmail === 'true') {
} else if (global.window.config.EnableSignUpWithEmail === 'true') {
this.state = {page: 'email'};
} else if (global.window.config.AllowSignUpWithGitLab === 'true') {
} else if (global.window.config.EnableSignUpWithGitLab === 'true') {
this.state = {page: 'gitlab'};
}
}