Skip to content

Commit ce5821e

Browse files
committed
Renamed confirm email template
1 parent e337e13 commit ce5821e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

backend/PyMatcha/routes/api/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def api_create_user():
8383
else:
8484
token = generate_confirmation_token(email=data["email"], token_type="confirm")
8585
link = os.getenv("APP_URL") + "/auth/confirm/" + token
86-
rendered_html = render_template("confirm_email.html.jinja2", link=link)
86+
rendered_html = render_template("confirm_email.html", link=link)
8787
send_mail_html.delay(dest=data["email"], subject="Confirm your email on PyMatcha", html=rendered_html)
8888
return SuccessOutputMessage("email", new_user.email, "New user successfully created.")
8989

File renamed without changes.

0 commit comments

Comments
 (0)