2017-09-13 15:47:34 +09:00
|
|
|
@model GenerateRecoveryCodesViewModel
|
|
|
|
@{
|
2018-04-19 15:57:23 -05:00
|
|
|
ViewData.SetActivePageAndTitle(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>
|
2018-04-06 00:14:07 -05:00
|
|
|
<span class="fa fa-warning"></span>
|
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>
|