Sha256: 4a6c4f1ea202d1a6f962aec8381308374eab473eaf2de422bc4525b2a5971d11

Contents?: true

Size: 580 Bytes

Versions: 3

Compression:

Stored size: 580 Bytes

Contents

<%%= form_with(url: two_factor_authentication_challenge_path) do |form| %>
  <%%= form.hidden_field :scheme_type, value: "recovery_codes" %>

  <div>
    <%%= form.label :code do %>
      <h1>OK, enter one of your recovery codes below:</h1>
    <%% end %>
    <%%= form.text_field :code, autofocus: true, required: true, autocomplete: :off %>
  </div>

  <div>
    <%%= form.submit "Continue" %>
  </div>
<%% end %>

<div>
  <p>To access your account, enter one of the recovery codes (e.g., XXXXX-XXXXX) you saved when you set up your two-factor authentication device.</p>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
authentication-zero-2.16.20 lib/generators/authentication/templates/erb/two_factor_authentication/challenges/_recovery_code_form.html.erb.tt
authentication-zero-2.16.19 lib/generators/authentication/templates/erb/two_factor_authentication/challenges/_recovery_code_form.html.erb.tt
authentication-zero-2.16.18 lib/generators/authentication/templates/erb/two_factor_authentication/challenges/_recovery_code_form.html.erb.tt