mirror of
https://github.com/bitwarden/server
synced 2025-12-22 03:03:33 +00: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