We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a919d9b commit 470371cCopy full SHA for 470371c
1 file changed
rootfs/api/settings/production.py
@@ -31,6 +31,7 @@
31
'security.W004',
32
'security.W008',
33
'security.W012',
34
+ 'security.W016',
35
]
36
37
CONN_MAX_AGE = 60 * 3
@@ -159,7 +160,7 @@
159
160
CSRF_COOKIE_SAMESITE = None
161
SECURE_CONTENT_TYPE_NOSNIFF = True
162
SECURE_BROWSER_XSS_FILTER = True
-CSRF_COOKIE_SECURE = bool(strtobool(os.environ.get('CSRF_COOKIE_SECURE', 'true')))
163
+CSRF_COOKIE_SECURE = bool(strtobool(os.environ.get('CSRF_COOKIE_SECURE', 'false')))
164
SESSION_COOKIE_SECURE = bool(strtobool(os.environ.get('SESSION_COOKIE_SECURE', 'false')))
165
166
# Honor HTTPS from a trusted proxy
0 commit comments