fix: password reset text should be generalized #26816

This commit is contained in:
Sumit Bhanushali 2024-06-28 12:16:02 +05:30
parent 830f4b7947
commit 7c5485c46d

View file

@ -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: