From bb733c581159e413f4fa9b57f92da58dff0afae9 Mon Sep 17 00:00:00 2001 From: d11n Date: Mon, 9 Jan 2023 16:38:03 +0100 Subject: [PATCH] Unify 2FA login boxes (#4506) * Unify 2FA login boxes * 2FA setup: Make auth code copyable --- .../Views/UIAccount/LoginWith2fa.cshtml | 2 +- .../Views/UIAccount/LoginWithFido2.cshtml | 4 ++-- .../Views/UIAccount/LoginWithLNURLAuth.cshtml | 24 +++++++++---------- .../Views/UIManage/EnableAuthenticator.cshtml | 10 ++++---- BTCPayServer/wwwroot/js/copy-to-clipboard.js | 14 +++++++---- BTCPayServer/wwwroot/js/webauthn/helpers.js | 9 ++++--- 6 files changed, 33 insertions(+), 30 deletions(-) diff --git a/BTCPayServer/Views/UIAccount/LoginWith2fa.cshtml b/BTCPayServer/Views/UIAccount/LoginWith2fa.cshtml index 703965ee6..3c2de3a53 100644 --- a/BTCPayServer/Views/UIAccount/LoginWith2fa.cshtml +++ b/BTCPayServer/Views/UIAccount/LoginWith2fa.cshtml @@ -1,7 +1,7 @@ @model LoginWith2faViewModel
-

Two-factor authentication

+

Two-Factor Authentication

diff --git a/BTCPayServer/Views/UIAccount/LoginWithFido2.cshtml b/BTCPayServer/Views/UIAccount/LoginWithFido2.cshtml index c5d0478eb..71c5a798e 100644 --- a/BTCPayServer/Views/UIAccount/LoginWithFido2.cshtml +++ b/BTCPayServer/Views/UIAccount/LoginWithFido2.cshtml @@ -9,14 +9,14 @@

FIDO2 Authentication

Insert your security device and proceed.

-
+
If your security device has a button, tap on it.
-

+