Created
June 23, 2020 11:49
-
-
Save kevinhq/b59574c2048aba39421cc706b4a6f69c to your computer and use it in GitHub Desktop.
Two-Factor authentication - form after login
This file contains hidden or 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