From: Andy Allan Date: Wed, 29 May 2024 17:49:30 +0000 (+0100) Subject: Re-enable autocomplete for passwords X-Git-Tag: live~429^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9adae1c52331330fd215a6451e546d16d4377a35?hp=979d616c38871e3340baa81e6f8eea9238624638 Re-enable autocomplete for passwords Regression for c4347c8d9a10bf5c141ad7d355594b93e20545f6 Thankfully browsers ignore this for login fields, but it shouldn't be turned off anyway. --- diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index f180a2989..c02b2d376 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -45,7 +45,7 @@ <%= link_to(t(".lost password link"), user_forgot_password_path) %> - + <%= f.form_group do %> <%= f.check_box :remember_me, { :label => t(".remember"), :tabindex => 3, :checked => (params[:remember_me] == "yes") }, "yes" %>