only show gitlab signup/login links if gitlab oauth is turned on

Этот коммит содержится в:
JoramWilander
2015-07-22 15:32:39 -04:00
родитель 41bbbbf446
Коммит 56a0a7d1e1
9 изменённых файлов: 46 добавлений и 14 удалений

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

@@ -3,9 +3,9 @@
var SignupUserComplete =require('../components/signup_user_complete.jsx');
global.window.setup_signup_user_complete_page = function(email, name, ui_name, id, data, hash) {
global.window.setup_signup_user_complete_page = function(email, name, ui_name, id, data, hash, auth_services) {
React.render(
<SignupUserComplete teamId={id} teamName={name} teamDisplayName={ui_name} email={email} hash={hash} data={data} />,
<SignupUserComplete teamId={id} teamName={name} teamDisplayName={ui_name} email={email} hash={hash} data={data} authServices={auth_services} />,
document.getElementById('signup-user-complete')
);
};