mirror of
https://github.com/bitwarden/server
synced 2025-12-13 14:53:34 +00: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
@@ -78,5 +78,6 @@ namespace Bit.Core.Services
|
||||
Task SendOTPAsync(User user);
|
||||
Task<bool> VerifyOTPAsync(User user, string token);
|
||||
Task<bool> VerifySecretAsync(User user, string secret);
|
||||
Task<bool> Needs2FABecauseNewDeviceAsync(User user, string deviceIdentifier, string grantType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user