Defect #44173
openIP Address is null :remote_ip=>nil
Description
The password reset email notification doesn't include the IP address.
I have a Redmine 6.0.3 environment, and when I perform the password reset procedure from the Lost Password login home page, I'm sent an email to log in with a token.
After logging in with a token and resetting the password, Redmine notifies me via email, but the IP Address field is null.
this is a log, and remote_ip is nil.
I, [2026-06-15T08:42:33.474305 #2179] INFO -- : [ActiveJob] [Mailer::DeliveryJob] [7b90f747-4357-4b07-b15d-588dcb04e2ee] Performing Mailer::DeliveryJob (Job ID: 7b90f747-4357-4b07-b15d-588dcb04e2ee) from Async(mailers) enqueued at 2026-06-15T06:42:33.469476002Z with arguments: "Mailer", "security_notification", "deliver_now", {:args=>[#<GlobalID:0x00007f4fa254fb48 昇吾 津江=#<URI::GID gid://redmine-app/User/357>>, #<GlobalID:0x00007f4fa254f698 昇吾 津江=#<URI::GID gid://redmine-app/AnonymousUser/4>>, {:message=>"mail_body_password_updated", :title=>"button_change_password", :url=>{:controller=>"my", :action=>"password"}, :remote_ip=>nil}]}
How can I have the IP address included in the email notification?
If I change my password or email address, the IP address is notified and everything works normally.
The IP address is not included when accessing via token or resetting your password.
Thank you.
Files
No data to display