Further hardening

This commit is contained in:
2026-01-15 10:06:52 +01:00
parent 167a0593de
commit 265aed56fe

View File

@@ -110,8 +110,10 @@ MEDIA_URL = "media/"
MEDIA_ROOT = STORAGE_DIR / "media"
# cookies hardening
SESSION_COOKIE_NAME = '__Secure-sessionid'
SESSION_COOKIE_SECURE = True
SESSION_COOKIE_HTTPONLY = True
CSRF_COOKIE_NAME = '__Secure-csrftoken'
CSRF_COOKIE_SECURE = True
CSRF_COOKIE_HTTPONLY = True