From afb87c525d768aaf370c67696e9d29e662f358ac Mon Sep 17 00:00:00 2001
From: rubenwardy
Date: Sat, 5 Dec 2020 00:27:26 +0000
Subject: [PATCH] Improve verify email wording
---
app/tasks/emails.py | 5 ++---
app/templates/emails/verify.html | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/app/tasks/emails.py b/app/tasks/emails.py
index 2546a76..9be6622 100644
--- a/app/tasks/emails.py
+++ b/app/tasks/emails.py
@@ -23,8 +23,7 @@ from app.utils import abs_url_for
@celery.task()
def sendVerifyEmail(newEmail, token):
- print("Sending verify email!")
- msg = Message("Verify email address", recipients=[newEmail])
+ msg = Message("Confirm email address", recipients=[newEmail])
msg.body = """
This email has been sent to you because someone (hopefully you)
@@ -32,7 +31,7 @@ def sendVerifyEmail(newEmail, token):
If it wasn't you, then just delete this email.
- If this was you, then please click this link to verify the address:
+ If this was you, then please click this link to confirm the address:
{}
""".format(abs_url_for('users.verify_email', token=token))
diff --git a/app/templates/emails/verify.html b/app/templates/emails/verify.html
index 925521a..ca9298e 100644
--- a/app/templates/emails/verify.html
+++ b/app/templates/emails/verify.html
@@ -13,7 +13,7 @@
- If this was you, then please click this link to verify the address:
+ If this was you, then please click this link to confirm the address: