mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-25 15:31:37 +01:00
Improve verify email wording
This commit is contained in:
parent
9b0ce41fd7
commit
afb87c525d
@ -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))
|
||||||
|
@ -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) }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user