From bd301eca6f6ec1649a84654998e77dd81ff9ace3 Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Sat, 21 Jul 2018 17:23:22 +0300 Subject: [PATCH] cookie name helps with multiple sites in same domain --- code/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/code/app.py b/code/app.py index ceba560..087c6ae 100644 --- a/code/app.py +++ b/code/app.py @@ -30,6 +30,7 @@ app.config['UID'] = config_values['uid'] app.config['GID'] = config_values['gid'] app.config['DEBUG'] = config_values['debug'] app.config['VERSION_FOLDER'] = config_values['version_folder'] +app.config['SESSION_COOKIE_NAME'] = secure_filename(config_values['site_name']) if 'notifier' in config_values: if len(config_values['notifier']) > 0: notifier_config = config_values['notifier'].split(":")