From 3a04b06facb85c1ba3e95edbc5c0b91e8674e745 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Sun, 21 Mar 2021 22:34:07 +0100 Subject: [PATCH] Harden a bit :-) --- wish/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wish/settings.py b/wish/settings.py index 8e9827a..bc46d94 100644 --- a/wish/settings.py +++ b/wish/settings.py @@ -35,6 +35,8 @@ BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/ +SESSION_COOKIE_SECURE = True +CSRF_COOKIE_SECURE = True # Application definition