Refactor endpoints to use blueprints instead

This commit is contained in:
rubenwardy
2019-11-15 23:51:42 +00:00
parent 015abe5a25
commit 64f131ae27
57 changed files with 396 additions and 396 deletions

View File

@@ -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)