main
Last change
on this file was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 4 months ago |
init commit Elena
|
-
Property mode
set to
100644
|
File size:
792 bytes
|
Line | |
---|
1 | @page
|
---|
2 | @model ShowRecoveryCodesModel
|
---|
3 | @{
|
---|
4 | ViewData["Title"] = "Recovery codes";
|
---|
5 | ViewData["ActivePage"] = "TwoFactorAuthentication";
|
---|
6 | }
|
---|
7 |
|
---|
8 | <partial name="_StatusMessage" for="StatusMessage" />
|
---|
9 | <h3>@ViewData["Title"]</h3>
|
---|
10 | <div class="alert alert-warning" role="alert">
|
---|
11 | <p>
|
---|
12 | <strong>Put these codes in a safe place.</strong>
|
---|
13 | </p>
|
---|
14 | <p>
|
---|
15 | If you lose your device and don't have the recovery codes you will lose access to your account.
|
---|
16 | </p>
|
---|
17 | </div>
|
---|
18 | <div class="row">
|
---|
19 | <div class="col-md-12">
|
---|
20 | @for (var row = 0; row < Model.RecoveryCodes.Length; row += 2)
|
---|
21 | {
|
---|
22 | <code class="recovery-code">@Model.RecoveryCodes[row]</code><text> </text><code class="recovery-code">@Model.RecoveryCodes[row + 1]</code><br />
|
---|
23 | }
|
---|
24 | </div>
|
---|
25 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.