mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
19a990b095
* init u2f * ux fixes * Cleanup Manage Controller * final changes * remove logs * remove console log * fix text for u2f * Use Is Secure instead of IsHttps * add some basic u2f tests * move loaders to before title * missing commit * refactor after nicolas wtf moment
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
@model LoginWithRecoveryCodeViewModel
|
|
@{
|
|
ViewData["Title"] = "Recovery code verification";
|
|
}
|
|
|
|
|
|
|
|
<section>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-12 text-center">
|
|
<h2 class="section-heading">@ViewData["Title"]</h2>
|
|
<hr class="primary">
|
|
<p>
|
|
You have requested to login with a recovery code. This login will not be remembered until you provide
|
|
an authenticator app code at login or disable 2FA and login again.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<form method="post" class="col-12">
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
<div class="form-group">
|
|
<label asp-for="RecoveryCode"></label>
|
|
<input asp-for="RecoveryCode" class="form-control" autocomplete="off" />
|
|
<span asp-validation-for="RecoveryCode" class="text-danger"></span>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Log in</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
|
|
@section Scripts {
|
|
@await Html.PartialAsync("_ValidationScriptsPartial")
|
|
}
|