Added the ability to create a team with SSO services and added the ability to turn off email sign up.
Этот коммит содержится в:
@@ -5,11 +5,13 @@ var SignupTeam = require('../components/signup_team.jsx');
|
||||
|
||||
var AsyncClient = require('../utils/async_client.jsx');
|
||||
|
||||
global.window.setup_signup_team_page = function() {
|
||||
global.window.setup_signup_team_page = function(authServices) {
|
||||
AsyncClient.getConfig();
|
||||
|
||||
var services = JSON.parse(authServices);
|
||||
|
||||
React.render(
|
||||
<SignupTeam />,
|
||||
<SignupTeam services={services} />,
|
||||
document.getElementById('signup-team')
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
var SignupUserOAuth = require('../components/signup_user_oauth.jsx');
|
||||
|
||||
global.window.setup_signup_user_oauth_page = function(user, team_name, team_display_name) {
|
||||
React.render(
|
||||
<SignupUserOAuth user={user} teamName={team_name} teamDisplayName={team_display_name} />,
|
||||
document.getElementById('signup-user-complete')
|
||||
);
|
||||
};
|
||||
Ссылка в новой задаче
Block a user