mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
fix(two-factor-controller) [PM-24211]: Branching logic should return on successful send.
This commit is contained in:
@@ -357,6 +357,7 @@ public class TwoFactorController : Controller
|
||||
authRequest.IsValidForAuthentication(user.Id, requestModel.AuthRequestAccessCode))
|
||||
{
|
||||
await _twoFactorEmailService.SendTwoFactorEmailAsync(user);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(requestModel.SsoEmail2FaSessionToken))
|
||||
|
||||
Reference in New Issue
Block a user