mirror of
https://github.com/bitwarden/browser
synced 2024-12-28 19:02:42 +01:00
allow bulk invite CSV list of email addresses
This commit is contained in:
parent
804f1f5610
commit
51edf80e48
@ -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
|
||||
|
@ -15,8 +15,9 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="form-group" show-errors>
|
||||
<label for="email">Email</label>
|
||||
<input type="email" id="email" name="Email" ng-model="model.email" class="form-control" required api-field />
|
||||
<label for="emails">Email</label>
|
||||
<input type="text" id="emails" name="Emails" ng-model="model.emails" class="form-control" required api-field />
|
||||
<p class="help-block">You can invite up to 20 users at a time by comma separating a list of email addresses.</p>
|
||||
</div>
|
||||
<h4>User Type</h4>
|
||||
<div class="form-group">
|
||||
|
Loading…
Reference in New Issue
Block a user