From b883e3c4a6865592f0398fd0aa209edd2cfe66e6 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 9 Sep 2021 12:10:34 +0200 Subject: [PATCH] duh. --- core/admin/mailu/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/admin/mailu/configuration.py b/core/admin/mailu/configuration.py index 7405d81f..196b0197 100644 --- a/core/admin/mailu/configuration.py +++ b/core/admin/mailu/configuration.py @@ -145,7 +145,7 @@ class ConfigManager(dict): self.config['SESSION_COOKIE_SAMESITE'] = 'Strict' self.config['SESSION_COOKIE_HTTPONLY'] = True self.config['PERMANENT_SESSION_LIFETIME'] = timedelta(hours=int(self.config['SESSION_LIFETIME'])) - hostnames = [host.strip() for host in self.config['HOSTNAMES'].split(',', 1)] + hostnames = [host.strip() for host in self.config['HOSTNAMES'].split(',')] self.config['HOSTNAMES'] = ','.join(hostnames) self.config['HOSTNAME'] = hostnames[0] # update the app config itself