mirror of
https://github.com/bitwarden/server
synced 2025-12-19 09:43:25 +00:00
updated authrequestId to string to allow null value from client (#2350)
This commit is contained in:
@@ -293,7 +293,7 @@ public class TwoFactorController : Controller
|
||||
if (!string.IsNullOrEmpty(model.AuthRequestAccessCode))
|
||||
{
|
||||
if (await _verifyAuthRequestCommand
|
||||
.VerifyAuthRequestAsync(model.AuthRequestId, model.AuthRequestAccessCode))
|
||||
.VerifyAuthRequestAsync(new Guid(model.AuthRequestId), model.AuthRequestAccessCode))
|
||||
{
|
||||
var isBecauseNewDeviceLogin = await IsNewDeviceLoginAsync(user, model);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user