From 7c5485c46d4f7e2bdfb6535b0ed096a86afd01f4 Mon Sep 17 00:00:00 2001 From: Sumit Bhanushali Date: Fri, 28 Jun 2024 12:16:02 +0530 Subject: [PATCH] fix: password reset text should be generalized #26816 --- frappe/core/doctype/user/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/core/doctype/user/user.py b/frappe/core/doctype/user/user.py index 9afbb5de39..96891b53e1 100644 --- a/frappe/core/doctype/user/user.py +++ b/frappe/core/doctype/user/user.py @@ -1018,7 +1018,7 @@ def reset_password(user: str) -> str: user.reset_password(send_email=True) return frappe.msgprint( - msg=_("Password reset instructions have been sent to your email"), + msg=_("Password reset instructions have been sent to {}'s email").format(user.full_name), title=_("Password Email Sent"), ) except frappe.DoesNotExistError: