diff --git a/web_server/utils/email.py b/web_server/utils/email.py index 3554240..848245f 100644 --- a/web_server/utils/email.py +++ b/web_server/utils/email.py @@ -131,13 +131,6 @@ def newsletter_conf(email): """ Handles sending a confirmation email that a user has joined a newsletter """ - salt = token_hex(32) - - token = generate_token(email, salt) - token += "CrEaTe" - r.setex(token, 3600, salt) - - full_url = url + "/confirm_account_creation/" + token content = f""" @@ -158,7 +151,7 @@ def newsletter_conf(email):
If you are receiving this email, it means that you have been officially added to the Monthly Gander newsletter.
In this newsletter, you will receive updates about: your favourite streamers; important Gander updates; and more!
- unsubscribe + Unsubscribe?