Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix the way account confirm URL is being created
Tomasz Szymański19825ec3d9d5
diff --git a/saleor/account/emails.py b/saleor/account/emails.pyindex d74f681081..1719b58c3e 100644--- a/saleor/account/emails.py+++ b/saleor/account/emails.py@@ -27,7 +27,8 @@ def send_account_confirmation_email(user, redirect_url):@app.taskdef _send_account_confirmation_email(email, token, redirect_url):- confirm_url = f"{redirect_url}/account-confirm?email={email}&token={token}"+ params = urlencode({"email": email, "token": token})+ confirm_url = prepare_url(params, redirect_url)send_kwargs, ctx = get_email_context()ctx["confirm_url"] = confirm_urlsend_templated_mail(