From 51245870784d153702caeca5c4de2231ed9f2751 Mon Sep 17 00:00:00 2001 From: Anirban Majumder <81350357+anirbanmajumder0@users.noreply.github.com> Date: Sat, 13 Apr 2024 22:03:36 +0530 Subject: [PATCH] Fix secure settings in settings.py --- backend/settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/settings.py b/backend/settings.py index 0bce942..6160f4f 100644 --- a/backend/settings.py +++ b/backend/settings.py @@ -180,10 +180,10 @@ AUTH_USER_MODEL = 'aniresfr.BaseUser' -SECURE_HSTS_SECONDS = 60 -SECURE_HSTS_INCLUDE_SUBDOMAINS = True -SECURE_HSTS_PRELOAD = True -SECURE_SSL_REDIRECT = True +#SECURE_HSTS_SECONDS = 60 +#SECURE_HSTS_INCLUDE_SUBDOMAINS = True +#SECURE_HSTS_PRELOAD = True +#SECURE_SSL_REDIRECT = True SESSION_COOKIE_SECURE = True CSRF_COOKIE_SECURE = True \ No newline at end of file