Sha256: 8c2307694250c91d2f0510c3ba635a07a1fcda01dd52ee48b2354c21aa0a16e4

Contents?: true

Size: 598 Bytes

Versions: 5

Compression:

Stored size: 598 Bytes

Contents

<p style="color: green"><%%= notice %></p>

<h1>Two-factor recovery codes</h1>
<p>Recovery codes provide a way to log in if you lose your phone (or don't have it with you). Save these and keep them somewhere safe.</p>

<ul><%%= render @recovery_codes %></ul>

<%%= link_to "OK, I'm done", root_path %>

<hr>

<h2>Need new recovery codes?</h2>

<p>If you think your codes have fallen into the wrong hands, you can get a new set. Be sure to save the new ones because the old codes will stop working.</p>

<%%= button_to "Generate new recovery codes", two_factor_authentication_recovery_codes_path %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
authentication-zero-2.16.20 lib/generators/authentication/templates/erb/two_factor_authentication/recovery_codes/index.html.erb.tt
authentication-zero-2.16.19 lib/generators/authentication/templates/erb/two_factor_authentication/recovery_codes/index.html.erb.tt
authentication-zero-2.16.18 lib/generators/authentication/templates/erb/two_factor_authentication/recovery_codes/index.html.erb.tt
authentication-zero-2.16.17 lib/generators/authentication/templates/erb/two_factor_authentication/recovery_codes/index.html.erb.tt
authentication-zero-2.16.16 lib/generators/authentication/templates/erb/two_factor_authentication/recovery_codes/index.html.erb.tt