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

Add separate ID for autologin pulldown

Oliver Günther47371288c1be
diff --git a/app/views/account/_login.html.erb b/app/views/account/_login.html.erb
index 4a9e72795c3..0e6e999d9ec 100644
--- a/app/views/account/_login.html.erb
+++ b/app/views/account/_login.html.erb
@@ -40,7 +40,8 @@ See docs/COPYRIGHT.rdoc for more details.
</div>
<div class="form--field-extra-actions">
<% if Setting.autologin? %>
- <label class="form--label-with-check-box"><%= styled_check_box_tag 'autologin', 1, false %> <%= l(:label_stay_logged_in) %></label>
+ <label class="form--label-with-check-box">
+ <%= styled_check_box_tag 'autologin', 1, false, id: 'autologin-pulldown' %> <%= l(:label_stay_logged_in) %></label>
<% elsif Setting.self_registration? %>
<%# show here if autologin is disabled, otherwise below lost_password link %>
<%= link_to t(:label_register),