Fix relative links
This commit is contained in:
@@ -22,6 +22,7 @@ from app.tasks import celery
|
||||
|
||||
@celery.task()
|
||||
def sendVerifyEmail(newEmail, token):
|
||||
print("Sending verify email!")
|
||||
msg = Message("Verify email address", recipients=[newEmail])
|
||||
msg.body = "This is a verification email!"
|
||||
msg.html = render_template("emails/verify.html", token=token)
|
||||
|
||||
Reference in New Issue
Block a user