From 2b81c18e970aeb03ff8e3d4fcef0360939d4d72e Mon Sep 17 00:00:00 2001 From: Daniel Gray Date: Tue, 30 Jul 2024 10:41:17 +0200 Subject: [PATCH] update code --- app/accounts/tokens.py | 2 +- .../email/activation_reset_email.html | 83 ------------------- 2 files changed, 1 insertion(+), 84 deletions(-) delete mode 100644 app/templates/accounts/email/activation_reset_email.html diff --git a/app/accounts/tokens.py b/app/accounts/tokens.py index 2607c6f4..042191d9 100644 --- a/app/accounts/tokens.py +++ b/app/accounts/tokens.py @@ -13,7 +13,7 @@ class AccountActivationTokenGenerator(PasswordResetTokenGenerator): calculated by concatenating the user's primary key, timestamp, and active status. - DO NOT MODIFY THIS METHOD. UNLESS YOU HAVE A GOOD REASON TO DO SO. + DO NOT MODIFY THIS METHOD. UNLESS YOU GET PERMISSION FROM THE PROJECT OWNER. """ diff --git a/app/templates/accounts/email/activation_reset_email.html b/app/templates/accounts/email/activation_reset_email.html deleted file mode 100644 index 1e40208e..00000000 --- a/app/templates/accounts/email/activation_reset_email.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - Activate Your Account - - - -{% if email_type == 'activation' %} -
-

Activate Your Account

-

Hi {{ user.username }},

-

Thank you for signing up for our service. Please click the link below to activate your account:

-

- - Activate your account - -

-

If you did not sign up for this account, please ignore this email.

-

Thank you,

-

The Team

-
-{% else %} -
-

Password Reset - new email

-

Hello {{ user.get_username }},

-

You requested a password reset. Click the button below to reset your password:

-

- - Reset my password - -

-

If you didn't request this, please ignore this email.

-

Thanks,

-

Your website team

-
-{% endif %} - -