Skip to content

Commit a6464c5

Browse files
committed
fix: make regenerate_password whitelisted
1 parent 13113f3 commit a6464c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mail/mail/doctype/mail_account/mail_account.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ def set_vacation_response(
415415
)
416416
frappe.throw(_("Failed to set vacation response."))
417417

418+
@frappe.whitelist()
418419
def regenerate_password(self) -> None:
419420
"""Regenerates the password for the Mail Account."""
420421

0 commit comments

Comments
 (0)