PLT-1830 Adding ability to create team with ldap

Этот коммит содержится в:
=Corey Hulen
2016-03-07 14:59:15 -08:00
родитель 0387ac7997
Коммит 777012eee4
8 изменённых файлов: 380 добавлений и 0 удалений

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

@@ -87,6 +87,21 @@ export function createTeamFromSignup(teamSignup, success, error) {
});
}
export function createTeamWithLdap(teamSignup, success, error) {
$.ajax({
url: '/api/v1/teams/create_with_ldap',
dataType: 'json',
contentType: 'application/json',
type: 'POST',
data: JSON.stringify(teamSignup),
success,
error: function onError(xhr, status, err) {
var e = handleError('createTeamFromSignup', xhr, status, err);
error(e);
}
});
}
export function createTeamWithSSO(team, service, success, error) {
$.ajax({
url: '/api/v1/teams/create_with_sso/' + service,