Merge pull request #2370 from mattermost/PLT-1830
PLT-1830 Adding ability to create team with ldap
Этот коммит содержится в:
@@ -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,
|
||||
|
||||
Ссылка в новой задаче
Block a user