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

Correct label "for" attribute

Henriette Darge29bd739f9ae5
diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/settings.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/settings.html.erb
index 4956e5424ad..b586dfc047e 100644
--- a/modules/two_factor_authentication/app/views/two_factor_authentication/settings.html.erb
+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/settings.html.erb
@@ -64,7 +64,7 @@
<fieldset class="form--fieldset">
<legend class="form--fieldset-legend"><%= t(:label_setting_plural) %></legend>
<div class="form--field">
- <label class="form--label" for='settings[enforced]'><%= t("two_factor_authentication.settings.label_enforced") %></label>
+ <label class="form--label" for='settings_enforced'><%= t("two_factor_authentication.settings.label_enforced") %></label>
<div class="form--field-container ">
<%= styled_check_box_tag "settings[enforced]",
"1",