Merge pull request #2370 from mattermost/PLT-1830

PLT-1830 Adding ability to create team with ldap
Этот коммит содержится в:
Harrison Healey
2016-03-08 10:18:05 -05:00
родитель 8fc42cbeb6 777012eee4
Коммит 22470c2069
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,