From 015aa0e885df64fa662e7ba67b2c148196143141 Mon Sep 17 00:00:00 2001 From: Stephan Porada <290-sporada@users.noreply.gitlab.ub.uni-bielefeld.de> Date: Thu, 3 Dec 2020 14:41:14 +0100 Subject: [PATCH] Update settings.py --- app/bundesdata_app/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/bundesdata_app/settings.py b/app/bundesdata_app/settings.py index 33a6009..b36986d 100755 --- a/app/bundesdata_app/settings.py +++ b/app/bundesdata_app/settings.py @@ -26,6 +26,8 @@ SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = os.environ.get('DEBUG') or False +CSRF_COOKIE_SECURE = True +SESSION_COOKIE_SECURE = True # CHANGE the hosts according to your settings. ALLOWED_HOSTS = ["127.0.0.1", "localhost", "192.168.0.14", "bundesdata.sporada.eu"]