From b06368b099e600132c4c81d9820ed84c8bb1444e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 23:01:09 +0000 Subject: [PATCH 1/2] Update django-email-verification requirement from ~=0.1.0 to ~=0.3.1 Updates the requirements on [django-email-verification](https://github.com/LeoneBacciu/django-email-verification) to permit the latest version. - [Release notes](https://github.com/LeoneBacciu/django-email-verification/releases) - [Commits](https://github.com/LeoneBacciu/django-email-verification/commits) --- updated-dependencies: - dependency-name: django-email-verification dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1e39aaece..462bd5dd7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ Django~=3.2 django-activity-stream~=1.4 django-crispy-forms~=1.14 django-simple-history~=3.1 -django-email-verification~=0.1.0 +django-email-verification~=0.3.1 django_compressor~=4.1 django_extensions~=3.2 django-storages~=1.13 From 6cd0d3808f283574bddf2e67bafd3d20cecc36a3 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Wed, 12 Oct 2022 11:41:33 +0200 Subject: [PATCH 2/2] Use new setting names --- wger/settings_global.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wger/settings_global.py b/wger/settings_global.py index 056ebae47..a901c823c 100644 --- a/wger/settings_global.py +++ b/wger/settings_global.py @@ -462,8 +462,8 @@ def email_verified_callback(user): EMAIL_MAIL_SUBJECT = 'Confirm your email' EMAIL_MAIL_HTML = 'email_verification/email_body_html.tpl' EMAIL_MAIL_PLAIN = 'email_verification/email_body_txt.tpl' -EMAIL_TOKEN_LIFE = 60 * 60 -EMAIL_PAGE_TEMPLATE = 'email_verification/confirm_template.html' +EMAIL_MAIL_TOKEN_LIFE = 60 * 60 +EMAIL_MAIL_PAGE_TEMPLATE = 'email_verification/confirm_template.html' EMAIL_PAGE_DOMAIN = 'http://localhost:8000/' #