From 8f2200d3e05d20e3f3f51274cdd3019f31209f4c Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 11 Sep 2022 21:59:20 +0200 Subject: [PATCH] Remove Turbo from 2FA form --- app/views/auth/two_factor_authentication.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/auth/two_factor_authentication.haml b/app/views/auth/two_factor_authentication.haml index 9c821b90..82070fbd 100644 --- a/app/views/auth/two_factor_authentication.haml +++ b/app/views/auth/two_factor_authentication.haml @@ -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"