-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
lib/recognizer_web/templates/accounts/user_settings/recovery_codes.html.eex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<div class="box"> | ||
<h2 class="title is-2 mb-5 has-text-centered-mobile">Copy Recovery Codes</h2> | ||
|
||
<div> | ||
<p class="py-4"> | ||
Recovery codes are used to access your account if you have lost access to your device. | ||
</p> | ||
|
||
<p class="py-4"> | ||
<strong> | ||
Download, print or copy your recovery codes before continuing | ||
two-factor authentication setup. | ||
</strong> | ||
</p> | ||
</div> | ||
|
||
<div> | ||
<pre><code><%= @recovery_block %></code></pre> | ||
</div> | ||
|
||
<div class="buttons is-right mt-5"> | ||
<div class="control"> | ||
<%= link "Continue", to: Routes.user_settings_path(@conn, :two_factor), class: "button is-secondary" %> | ||
</div> | ||
</div> | ||
|
||
</div> |