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

Fix controller association with form instead of div

Klaus Zanders855885409325
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 56a92875a2c..01479d5798e 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
@@ -12,8 +12,6 @@
{ action: :confirm_otp },
id: 'submit_otp',
autocomplete: "off", data: {
- controller: "two-factor-authentication",
- application_target: "dynamic",
challenge_url: url_for(action: :webauthn_challenge, format: :json),
device_type: @used_device.class.device_type,
action: "submit->two-factor-authentication#onVerifyDevice"}) do %>