mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05:00
PS-82 check send 2FA email for new devices on TwoFactorController send-email-login (#1977)
This commit is contained in:

committed by
GitHub

parent
68f875b3d9
commit
a7a45893a3
@ -203,6 +203,8 @@ namespace Bit.Api.Models.Request
|
||||
[StringLength(256)]
|
||||
public string Email { get; set; }
|
||||
|
||||
public string DeviceIdentifier { get; set; }
|
||||
|
||||
public User ToUser(User extistingUser)
|
||||
{
|
||||
var providers = extistingUser.GetTwoFactorProviders();
|
||||
|
Reference in New Issue
Block a user