fix: password reset text should be generalized #26816
This commit is contained in:
parent
830f4b7947
commit
7c5485c46d
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue