From 8a6525e47c78944e2dd20cde257be25b289d5fb1 Mon Sep 17 00:00:00 2001 From: Benbb96 Date: Sun, 3 Sep 2023 01:07:43 +0200 Subject: [PATCH] Use SECURE_SSL_REDIRECT as a default value for HELPDESK_USE_HTTPS_IN_EMAIL_LINK setting --- helpdesk/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/settings.py b/helpdesk/settings.py index 7dc7ac5c..100112ff 100644 --- a/helpdesk/settings.py +++ b/helpdesk/settings.py @@ -229,7 +229,7 @@ HELPDESK_ENABLE_PER_QUEUE_STAFF_PERMISSION = getattr( # use https in the email links HELPDESK_USE_HTTPS_IN_EMAIL_LINK = getattr( - settings, 'HELPDESK_USE_HTTPS_IN_EMAIL_LINK', False) + settings, 'HELPDESK_USE_HTTPS_IN_EMAIL_LINK', settings.SECURE_SSL_REDIRECT) HELPDESK_TEAMS_MODEL = getattr( settings, 'HELPDESK_TEAMS_MODEL', 'pinax_teams.Team')