mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Unify Fido2 authentication under two-factor tab (#2866)
* Unify Fido2 authentication under two-factor tab Closes #2754. * Improve UI and wording * Improve register FIDO2 device page
This commit is contained in:
@@ -29,6 +29,7 @@ namespace BTCPayServer.Controllers
|
||||
{
|
||||
Is2faEnabled = user.TwoFactorEnabled,
|
||||
RecoveryCodesLeft = await _userManager.CountRecoveryCodesAsync(user),
|
||||
Credentials = await _fido2Service.GetCredentials( _userManager.GetUserId(User))
|
||||
};
|
||||
|
||||
return View(model);
|
||||
|
||||
Reference in New Issue
Block a user