1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

Send invites for both all collection and limited collection users (#1765)

* Send invites for both all collection and limited collection users

* Test all access and limited access invites

* Remove comment
This commit is contained in:
Matt Gibson
2021-12-14 10:29:31 -06:00
committed by GitHub
parent d694ac6052
commit e999f66a28
2 changed files with 12 additions and 3 deletions

View File

@ -1191,7 +1191,7 @@ namespace Bit.Core.Services
}
await AutoAddSeatsAsync(organization, newSeatsRequired, prorationDate);
await SendInvitesAsync(orgUsers, organization);
await SendInvitesAsync(orgUsers.Concat(limitedCollectionOrgUsers.Select(u => u.Item1)), organization);
await _eventService.LogOrganizationUserEventsAsync(events);
await _referenceEventService.RaiseEventAsync(