1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-06 18:43:25 +00:00

allow bulk invite CSV list of email addresses

This commit is contained in:
Kyle Spearrin
2017-05-18 12:19:49 -04:00
parent 804f1f5610
commit 51edf80e48
2 changed files with 6 additions and 3 deletions

View File

@@ -72,8 +72,10 @@
}
}
var splitEmails = model.emails.trim().split(/\s*,\s*/);
$scope.submitPromise = apiService.organizationUsers.invite({ orgId: $state.params.orgId }, {
email: model.email,
emails: splitEmails,
type: model.type,
collections: collections,
accessAll: model.accessAll