Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Opt out of turbo for resend

Oliver Günther8a952954d431
diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb
index 479c1d1d67d..71ae5492e4e 100644
--- a/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb
+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/authentication/request_otp.html.erb
@@ -91,7 +91,7 @@
<% @active_devices.each do |device| %>
<% next if device.id == @used_device.id %>
<li>
- <%= form_tag({ action: :retry }, method: :post) do %>
+ <%= form_tag({ action: :retry }, method: :post, data: { turbo: false }) do %>
<%= hidden_field_tag 'use_device', device.id %>
<%= submit_tag device.redacted_identifier, class: 'button--link' %>
<% end %>