mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
a962e60de9
* Store selector * Footer * Notifications * Checkout Appearance * Users list * Forms * Emails * Pay Button * Edit Dictionary * Remove newlines, fix typos * Forms * Pull payments and payouts * Various pages * Use local docs link * Fix * Even more translations * Fixes #6325 * Account pages * Notifications * Placeholders * Various pages and components * Add more
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
@model GenerateRecoveryCodesViewModel
|
|
@{
|
|
ViewData.SetActivePage(ManageNavPages.TwoFactorAuthentication, StringLocalizer["Recovery codes"]);
|
|
}
|
|
|
|
<h2 class="mb-2 mb-lg-3" text-translate="true">@ViewData["Title"]</h2>
|
|
<partial name="_StatusMessage" />
|
|
|
|
<div class="alert alert-warning" role="alert">
|
|
<h5>
|
|
<vc:icon symbol="warning" />
|
|
<span text-translate="true">Put these codes in a safe place</span>
|
|
</h5>
|
|
<p class="mb-0" text-translate="true">
|
|
If you lose your device and don't have the recovery codes you will lose access to your account.
|
|
</p>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
@for(var row = 0; row < Model.RecoveryCodes.Length; row += 2)
|
|
{
|
|
<code>@Model.RecoveryCodes[row]</code><text> </text><code>@Model.RecoveryCodes[row + 1]</code><br />
|
|
}
|
|
</div>
|
|
</div>
|
|
<div class="row mt-4">
|
|
<div class="col-md-12">
|
|
<a asp-action="TwoFactorAuthentication" class="btn btn-primary" text-translate="true">I wrote down my recovery codes</a>
|
|
</div>
|
|
</div>
|