mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 09:32:48 -05:00
added org duo to 2fa flow
This commit is contained in:
@ -62,7 +62,7 @@ namespace Bit.Core.Services
|
||||
}
|
||||
else
|
||||
{
|
||||
var orgs = await _organizationUserRepository.GetManyByUserAsync(userId);
|
||||
var orgs = await _currentContext.OrganizationMembershipAsync(_organizationUserRepository, userId);
|
||||
orgEvents = orgs
|
||||
.Where(o => o.Status == OrganizationUserStatusType.Confirmed &&
|
||||
CanUseEvents(orgAbilities, o.OrganizationId))
|
||||
|
Reference in New Issue
Block a user