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

@@ -1,3 +1,6 @@
using System.Collections.Generic;
using BTCPayServer.Data;
namespace BTCPayServer.Models.ManageViewModels
{
public class TwoFactorAuthenticationViewModel
@@ -6,5 +9,7 @@ namespace BTCPayServer.Models.ManageViewModels
public int RecoveryCodesLeft { get; set; }
public bool Is2faEnabled { get; set; }
public List<Fido2Credential> Credentials { get; set; }
}
}