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:
d11n
2021-09-13 03:16:52 +02:00
committed by GitHub
parent eccbe8e018
commit 6666786b7a
13 changed files with 161 additions and 166 deletions

View File

@@ -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);