Improve verify email wording

This commit is contained in:
rubenwardy 2020-12-05 00:27:26 +00:00
parent 9b0ce41fd7
commit afb87c525d
2 changed files with 3 additions and 4 deletions

View File

@ -23,8 +23,7 @@ from app.utils import abs_url_for
@celery.task() @celery.task()
def sendVerifyEmail(newEmail, token): def sendVerifyEmail(newEmail, token):
print("Sending verify email!") msg = Message("Confirm email address", recipients=[newEmail])
msg = Message("Verify email address", recipients=[newEmail])
msg.body = """ msg.body = """
This email has been sent to you because someone (hopefully you) 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 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)) """.format(abs_url_for('users.verify_email', token=token))

View File

@ -13,7 +13,7 @@
</p> </p>
<p> <p>
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:
</p> </p>
<a class="btn" href="{{ abs_url_for('users.verify_email', token=token) }}"> <a class="btn" href="{{ abs_url_for('users.verify_email', token=token) }}">