Sha256: 815aa031a625be2bbfb6b60f55171a257dd9950abe402bfa4ea2bdb1aa4f36fe

Contents?: true

Size: 240 Bytes

Versions: 5

Compression:

Stored size: 240 Bytes

Contents

<pre id="recovery-codes"><%%= <%= rodauth %>.recovery_codes.map { |s| h(s) }.join("\n\n") %></pre>

<%% if <%= rodauth %>.can_add_recovery_codes? %>
  <h2>Add Additional Recovery Codes</h2>
  <%%= render "recovery_codes_form" %>
<%% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rodauth-rails-0.17.1 lib/generators/rodauth/templates/app/views/rodauth/add_recovery_codes.html.erb
rodauth-rails-0.17.0 lib/generators/rodauth/templates/app/views/rodauth/add_recovery_codes.html.erb
rodauth-rails-0.16.0 lib/generators/rodauth/templates/app/views/rodauth/add_recovery_codes.html.erb
rodauth-rails-0.15.0 lib/generators/rodauth/templates/app/views/rodauth/add_recovery_codes.html.erb
rodauth-rails-0.14.0 lib/generators/rodauth/templates/app/views/rodauth/add_recovery_codes.html.erb