Sha256: b5835e5187ce9c2d5c6f24b1388d819e1f3d9fed44136855316b1a33183fae5e

Contents?: true

Size: 638 Bytes

Versions: 2

Compression:

Stored size: 638 Bytes

Contents

<%%= form_with(url: two_factor_authentication_challenge_path) do |form| %>
  <%%= form.hidden_field :token, value: params[:token] %>
  <%%= 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

2 entries across 2 versions & 1 rubygems

Version Path
authentication-zero-2.16.17 lib/generators/authentication/templates/erb/two_factor_authentication/challenges/_recovery_code_form.html.erb.tt
authentication-zero-2.16.16 lib/generators/authentication/templates/erb/two_factor_authentication/challenges/_recovery_code_form.html.erb.tt