aboutsummaryrefslogtreecommitdiff
path: root/app/tasks/emails.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-11-15 23:51:42 +0000
committerrubenwardy <rw@rubenwardy.com>2019-11-15 23:51:42 +0000
commit64f131ae27a7332245b5a4eb8e1e4879d7d99578 (patch)
treea0b4101ca9c2132a072f1586c0df693583c91cf7 /app/tasks/emails.py
parent015abe5a2507ad02273bc89953016c386aae4457 (diff)
downloadcheatdb-64f131ae27a7332245b5a4eb8e1e4879d7d99578.tar.xz
Refactor endpoints to use blueprints instead
Diffstat (limited to 'app/tasks/emails.py')
-rw-r--r--app/tasks/emails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/tasks/emails.py b/app/tasks/emails.py
index 5eb915e..f81deaa 100644
--- a/app/tasks/emails.py
+++ b/app/tasks/emails.py
@@ -34,7 +34,7 @@ def sendVerifyEmail(newEmail, token):
If this was you, then please click this link to verify the address:
{}
- """.format(url_for('verify_email_page', token=token, _external=True))
+ """.format(url_for('users.verify_email', token=token, _external=True))
msg.html = render_template("emails/verify.html", token=token)
mail.send(msg)