Skip to content

Commit

Permalink
Remove not mandatory settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo Melchiorre committed Jan 11, 2024
1 parent 4277358 commit 8b1c0e5
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@ class ProjectDefault(Configuration):

SESSION_COOKIE_SECURE = True

SESSION_COOKIE_SAMESITE = "Strict"

# Secure Proxy SSL Header
# https://docs.djangoproject.com/en/stable/ref/settings/#secure-proxy-ssl-header

Expand Down Expand Up @@ -380,8 +378,6 @@ def DATABASES(self): # pragma: no cover
# Security
# https://docs.djangoproject.com/en/stable/topics/security/

CSRF_COOKIE_SAMESITE = "Strict"

CSRF_COOKIE_SECURE = True

SECURE_BROWSER_XSS_FILTER = True
Expand Down

0 comments on commit 8b1c0e5

Please sign in to comment.