mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 07:53:19 +01:00
Fix: use helpdesk settings to for https config
This commit is contained in:
parent
03d1c66dd6
commit
92ea5bc984
@ -685,7 +685,7 @@ class Ticket(models.Model):
|
||||
site = Site.objects.get_current()
|
||||
except ImproperlyConfigured:
|
||||
site = Site(domain='configure-django-sites.com')
|
||||
if settings.HELPDESK_USE_HTTPS_IN_EMAIL_LINK:
|
||||
if helpdesk_settings.HELPDESK_USE_HTTPS_IN_EMAIL_LINK:
|
||||
protocol = 'https'
|
||||
else:
|
||||
protocol = 'http'
|
||||
@ -711,7 +711,7 @@ class Ticket(models.Model):
|
||||
site = Site.objects.get_current()
|
||||
except ImproperlyConfigured:
|
||||
site = Site(domain='configure-django-sites.com')
|
||||
if settings.HELPDESK_USE_HTTPS_IN_EMAIL_LINK:
|
||||
if helpdesk_settings.HELPDESK_USE_HTTPS_IN_EMAIL_LINK:
|
||||
protocol = 'https'
|
||||
else:
|
||||
protocol = 'http'
|
||||
|
Loading…
Reference in New Issue
Block a user