mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
27f20386df
fix #806
28 lines
867 B
Plaintext
28 lines
867 B
Plaintext
@model GenerateRecoveryCodesViewModel
|
|
@{
|
|
ViewData.SetActivePageAndTitle(ManageNavPages.TwoFactorAuthentication, "Recovery codes");
|
|
}
|
|
|
|
<div class="alert alert-warning" role="alert">
|
|
<p>
|
|
<span class="fa fa-warning"></span>
|
|
<strong>Put these codes in a safe place.</strong>
|
|
</p>
|
|
<p>
|
|
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.Count(); 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="Index" class="btn btn-primary">I wrote down my recovery codes</a>
|
|
</div>
|
|
</div>
|