mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-19 15:04:19 +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:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user