mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05: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