Skip to content

Commit

Permalink
fix(api): signup: wrong url callback url (#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssiyad committed Jun 19, 2023
1 parent 178f5a9 commit 10765e9
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ def after_insert(self):
self.send_verification_email()

def send_verification_email(self):
url = get_url(f"/support/verify/{self.request_key}")

url = get_url(f"/helpdesk/verify/{self.request_key}")
subject = "Verify your account"

sender = None
if frappe.db.exists("Email Account", {"name": "Support", "enable_outgoing": True}):

if frappe.db.exists(
"Email Account", {"name": "Support", "enable_outgoing": True}
):
sender = frappe.get_doc("Email Account", "Support").email_id

try:
Expand Down

0 comments on commit 10765e9

Please sign in to comment.