mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
fix(two-factor-controller) [PM-24211]: Rephrase a comment (accuracy).
This commit is contained in:
@@ -350,7 +350,6 @@ public class TwoFactorController : Controller
|
|||||||
if (user != null)
|
if (user != null)
|
||||||
{
|
{
|
||||||
// Check if 2FA email is from a device approval ("Log in with device") scenario.
|
// Check if 2FA email is from a device approval ("Log in with device") scenario.
|
||||||
// 2FA is required for an unknown device.
|
|
||||||
if (!string.IsNullOrEmpty(requestModel.AuthRequestAccessCode))
|
if (!string.IsNullOrEmpty(requestModel.AuthRequestAccessCode))
|
||||||
{
|
{
|
||||||
var authRequest = await _authRequestRepository.GetByIdAsync(new Guid(requestModel.AuthRequestId));
|
var authRequest = await _authRequestRepository.GetByIdAsync(new Guid(requestModel.AuthRequestId));
|
||||||
|
|||||||
Reference in New Issue
Block a user