mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
check user has 2fa enabled when confirming
This commit is contained in:
@ -133,7 +133,8 @@ namespace Bit.Api.Controllers
|
||||
}
|
||||
|
||||
var userId = _userService.GetProperUserId(User);
|
||||
var result = await _organizationService.ConfirmUserAsync(orgGuidId, new Guid(id), model.Key, userId.Value);
|
||||
var result = await _organizationService.ConfirmUserAsync(orgGuidId, new Guid(id), model.Key, userId.Value,
|
||||
_userService);
|
||||
}
|
||||
|
||||
[HttpPut("{id}")]
|
||||
|
Reference in New Issue
Block a user