lib/rodauth/features/reset_password.rb in rodauth-2.10.0 vs lib/rodauth/features/reset_password.rb in rodauth-2.11.0
- old
+ new
@@ -98,9 +98,10 @@
end
route do |r|
check_already_logged_in
before_reset_password_route
+ @password_field_autocomplete_value = 'new-password'
r.get do
if key = param_or_nil(reset_password_key_param)
set_session_value(reset_password_session_key, key)
redirect(r.path)