diff --git a/BTCPayServer/Views/UIAccount/SecondaryLogin.cshtml b/BTCPayServer/Views/UIAccount/SecondaryLogin.cshtml index c8cfe01b7..1edd031ca 100644 --- a/BTCPayServer/Views/UIAccount/SecondaryLogin.cshtml +++ b/BTCPayServer/Views/UIAccount/SecondaryLogin.cshtml @@ -3,40 +3,18 @@ ViewData["Title"] = "Two-factor/U2F authentication"; } - @if (Model.LoginWith2FaViewModel != null && Model.LoginWithFido2ViewModel != null&& Model.LoginWithLNURLAuthViewModel != null) - { -
- } - else if (Model.LoginWith2FaViewModel == null && Model.LoginWithFido2ViewModel == null && Model.LoginWithLNURLAuthViewModel == null) - { -
-
-

2FA and U2F/FIDO2 and LNURL-Auth Authentication Methods are not available. Please go to the https endpoint.

-
-
-
- } - -
- @if (Model.LoginWith2FaViewModel != null) - { -
- -
- } - @if (Model.LoginWithFido2ViewModel != null) - { -
- -
- } - @if (Model.LoginWithLNURLAuthViewModel != null) - { -
- -
- } +@if (Model.LoginWith2FaViewModel != null && Model.LoginWithFido2ViewModel != null&& Model.LoginWithLNURLAuthViewModel != null) +{ +
+} +else if (Model.LoginWith2FaViewModel == null && Model.LoginWithFido2ViewModel == null && Model.LoginWithLNURLAuthViewModel == null) +{ +
+
+

2FA and U2F/FIDO2 and LNURL-Auth Authentication Methods are not available. Please go to the https endpoint.

+
+
}
@@ -52,6 +30,12 @@
} + @if (Model.LoginWithLNURLAuthViewModel != null) + { +
+ +
+ }
@section PageFootContent {