From 895a62c4757795493a9ed6011f13c14deb13a0ff Mon Sep 17 00:00:00 2001 From: Adarnof Date: Fri, 9 Feb 2018 01:11:35 -0500 Subject: [PATCH] Include leading http(s) on activation link. Closes #961 --- .../authentication/templates/registration/activation_email.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/allianceauth/authentication/templates/registration/activation_email.txt b/allianceauth/authentication/templates/registration/activation_email.txt index 37fd1f6d..1ad35117 100644 --- a/allianceauth/authentication/templates/registration/activation_email.txt +++ b/allianceauth/authentication/templates/registration/activation_email.txt @@ -2,7 +2,7 @@ You're receiving this email because someone has entered this email address while If this was you, please go to the following URL to confirm your email address: -{{ url }} +{{ scheme }}://{{ url }} This link will expire in {{ expiration_days }} day(s). diff --git a/setup.py b/setup.py index 9e85eae5..d075e8d2 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ install_requires = [ 'django>=1.11', 'django-bootstrap-form', - 'django-registration', + 'django-registration>=2.4,<3.0', 'django-sortedm2m', 'django-redis-cache>=1.7.1', 'django-celery-beat',