Merge pull request #679 from Retrospring/feature/unturbo-2fa

Remove Turbo from 2FA form
This commit is contained in:
Karina Kwiatek 2022-09-11 22:42:25 +02:00 committed by GitHub
commit cbcfb6e5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
.card.mt-3
.card-body
%h1.mb-3.mt-0= t(".heading")
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f|
= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name), method: :post, data: { turbo: false }) do |f|
= f.text_field :otp_attempt, autofocus: true, inputmode: :numeric, label: t(".otp_attempt")
= f.submit t("voc.login"), class: "btn btn-primary mt-3 mb-3"