Sha256: 1a3e716b5516c56f4de70758bebd230480a2dd2274fdc59134a84c4ed2526336

Contents?: true

Size: 859 Bytes

Versions: 19

Compression:

Stored size: 859 Bytes

Contents

<p style="color: red"><%%= alert %></p>

<%%= form_with(url: two_factor_authentication_challenge_totp_path) do |form| %>
  <div>
    <%%= form.label :code do %>
      <h1>Next, open the 2FA authenticator app on your phone and type the six digit code below:</h1>
    <%% end %>
    <%%= form.text_field :code, autofocus: true, required: true, autocomplete: :off %>
  </div>

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

<div>
  <p><strong>Don't have your phone?</strong></p>
  <div><%%= link_to "Use a recovery code to access your account.", new_two_factor_authentication_challenge_recovery_codes_path %></div>
  <%- if webauthn? %>
  <%% if @user.security_keys.exists? %>
    <div><%%= link_to "Use a security key to access your account.", new_two_factor_authentication_challenge_security_keys_path %></div>
  <%% end %>
  <%- end -%>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
authentication-zero-4.0.3 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-4.0.2 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-4.0.1 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-4.0.0 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-3.0.2 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-3.0.1 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-3.0.0 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-3.0.0.alpha1 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.36 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.35 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.34 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.33 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.32 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.31 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.30 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.29 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.28 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.27 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt
authentication-zero-2.16.26 lib/generators/authentication/templates/erb/two_factor_authentication/challenge/totps/new.html.erb.tt