2017-09-13 15:47:34 +09:00
|
|
|
@model GenerateRecoveryCodesViewModel
|
|
|
|
@{
|
2021-12-16 11:17:02 +01:00
|
|
|
ViewData.SetActivePage(ManageNavPages.TwoFactorAuthentication, "Recovery codes");
|
2017-09-13 15:47:34 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
<div class="alert alert-warning" role="alert">
|
2020-07-08 19:19:29 +02:00
|
|
|
<h5>
|
2024-05-20 01:57:46 +02:00
|
|
|
<vc:icon symbol="warning" />
|
2020-07-08 19:19:29 +02:00
|
|
|
Put these codes in a safe place
|
|
|
|
</h5>
|
|
|
|
<p class="mb-0">
|
2017-09-13 15:47:34 +09:00
|
|
|
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">
|
2017-10-27 17:53:04 +09:00
|
|
|
@for(var row = 0; row < Model.RecoveryCodes.Count(); row += 2)
|
2017-09-13 15:47:34 +09:00
|
|
|
{
|
|
|
|
<code>@Model.RecoveryCodes[row]</code><text> </text><code>@Model.RecoveryCodes[row + 1]</code><br />
|
|
|
|
}
|
|
|
|
</div>
|
2017-10-27 17:53:04 +09:00
|
|
|
</div>
|
2019-08-29 01:16:02 -07:00
|
|
|
<div class="row mt-4">
|
|
|
|
<div class="col-md-12">
|
2020-07-13 08:13:27 +02:00
|
|
|
<a asp-action="TwoFactorAuthentication" class="btn btn-primary">I wrote down my recovery codes</a>
|
2019-08-29 01:16:02 -07:00
|
|
|
</div>
|
|
|
|
</div>
|