mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-26 16:48:50 +01:00
Clear host and port if no proxy type was set
This commit is contained in:
parent
54dd376b9c
commit
ae681dd5d3
@ -230,6 +230,9 @@ class Queue(models.Model):
|
||||
self.socks_proxy_host = '127.0.0.1'
|
||||
if not self.socks_proxy_port:
|
||||
self.socks_proxy_port = 9150
|
||||
else:
|
||||
self.socks_proxy_host = None
|
||||
self.socks_proxy_port = None
|
||||
|
||||
if not self.email_box_port:
|
||||
if self.email_box_type == 'imap' and self.email_box_ssl:
|
||||
|
Loading…
Reference in New Issue
Block a user