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: Reference `confirm_device` instead of `confirm` translation

Aaron Contrerasab285f35e684
diff --git a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb
index 72c1d31c833..e763712635c 100644
--- a/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb
+++ b/modules/two_factor_authentication/app/views/two_factor_authentication/two_factor_devices/confirm.html.erb
@@ -1,6 +1,6 @@
-<% html_title(t(:label_my_account), t('two_factor_authentication.devices.confirm')) -%>
+<% html_title(t(:label_my_account), t('two_factor_authentication.devices.confirm_device')) -%>
<% breadcrumb_paths link_to(t('two_factor_authentication.label_two_factor_authentication'), index_path),
- t('two_factor_authentication.devices.confirm') -%>
+ t('two_factor_authentication.devices.confirm_device') -%>
<%= styled_form_tag(confirm_path, method: :post, id: 'login-form', class: 'form -bordered', autocomplete: "off") do %>
<h2><%= title %></h2>