Project

General

Profile

Actions

Defect #44173

closed

Password reset security notification does not include IP address

Added by Damiano Sparta about 1 month ago. Updated 17 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Email notifications
Target version:
Resolution:
Fixed
Affected version:

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

clipboard-202606150855-xbyft.png (7.3 KB) clipboard-202606150855-xbyft.png Damiano Sparta, 2026-06-15 08:55
44173.patch (1.38 KB) 44173.patch Go MAEDA, 2026-06-18 08:31

Related issues

Copied to Redmine - Defect #44220: Backport password reset security notification does not include IP addressClosedGo MAEDAActions
Actions

Also available in: Atom PDF