Forked from kevinhq/two_factors_authentication.html.erb
Created
June 24, 2020 00:35
-
-
Save 123ish/a4d427f4e6637747c7ae6deefb2ba576 to your computer and use it in GitHub Desktop.
Two-Factor authentication - form after login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%# /app/views/users/sessions/two_factors_authentication.html.erb %> | |
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :role => 'form', :method => 'POST' }) do |f| %> | |
<%= f.hidden_field :email, value: params[:user][:email] %> | |
<%= f.text_field :otp_response_code %> | |
<%= f.submit %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment