Sha256: 8c817e17b1c13c2c6ef6a1869748713487ed8c830e396c5babdbe06cd3eaddc3

Contents?: true

Size: 384 Bytes

Versions: 4

Compression:

Stored size: 384 Bytes

Contents

<%%= form_tag <%= rodauth %>.recovery_codes_path, method: :post do %>
  <%%= render "password_field" if <%= rodauth %>.two_factor_modifications_require_password? %>
  <%%= render "submit",
    value: <%= rodauth %>.recovery_codes_button || "View Authentication Recovery Codes",
    name: (<%= rodauth %>.add_recovery_codes_param if <%= rodauth %>.recovery_codes_button) %>
<%% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

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