Sha256: 4bc6726c89717c910a73bc4c7ba7bfb4c9d286bc6f72ca34515c08f3aa7a94ab

Contents?: true

Size: 442 Bytes

Versions: 10

Compression:

Stored size: 442 Bytes

Contents

Two Factor Authentication Setup

<p><%= flash[:error] %></p>

<%= image_tag(@qr_code) if @qr_code.present? %>

<p>Authenticator Secret: <%= @otp_secret %>

<%= form_for resource, url: send("#{resource_name}_two_factor_authentication_path"), method: :post do |f| %>
  <label>Authenticator Code:</label>
  <%= hidden_field_tag :otp_secret_signature, @otp_secret_signature %>
  <%= text_field_tag :otp_attempt, '' %>
  <%= f.submit %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
devise-multi-factor-3.2.5 app/views/devise/two_factor_authentication/new.html.erb
devise-multi-factor-3.2.4 app/views/devise/two_factor_authentication/new.html.erb
devise-multi-factor-3.2.3 app/views/devise/two_factor_authentication/new.html.erb
devise-multi-factor-3.2.2 app/views/devise/two_factor_authentication/new.html.erb
devise-multi-factor-3.2.1 app/views/devise/two_factor_authentication/new.html.erb
devise-multi-factor-3.2.0 app/views/devise/two_factor_authentication/new.html.erb
devise-multi-factor-3.1.8 app/views/devise/two_factor_authentication/new.html.erb
devise-multi-factor-3.1.7 app/views/devise/two_factor_authentication/new.html.erb
devise-multi-factor-3.1.6 app/views/devise/two_factor_authentication/new.html.erb
devise-multi-factor-3.1.5 app/views/devise/two_factor_authentication/new.html.erb