Add unsubscribe

This commit is contained in:
rubenwardy
2020-12-05 20:36:09 +00:00
parent 5fe3b0b459
commit 085f0b49c6
11 changed files with 267 additions and 26 deletions

View File

@@ -21,11 +21,14 @@
</a>
<p style="font-size: 80%;">
Or paste this into your browser: {{ abs_url_for('users.verify_email', token=token) }}
Or paste this into your browser: <code>{{ abs_url_for('users.verify_email', token=token) }}</code>
<p>
{% endblock %}
{% block footer %}
You are receiving this email because someone (hopefully you) entered your email address as a user's email.
You are receiving this email because someone (hopefully you) entered your email address as a user's email. <br>
<a href="{{ abs_url_for('users.unsubscribe', token=sub.token) }}">
{{ _("Unsubscribe") }}
</a>
{% endblock %}