Skip to content

Commit 60a0aa5

Browse files
committed
remove security midd from settings
1 parent 40774c1 commit 60a0aa5

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

illich/settings.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,3 @@
145145
EMAIL_FROM_HOST = "mataroa.blog"
146146
SERVER_EMAIL = "Ted Lasso <[email protected]>"
147147
EMAIL_SUBJECT_PREFIX = "[Illich Notification] "
148-
149-
150-
# Security middleware
151-
152-
if not DEBUG:
153-
SECURE_CONTENT_TYPE_NOSNIFF = True
154-
SECURE_BROWSER_XSS_FILTER = True
155-
X_FRAME_OPTIONS = "DENY"
156-
SESSION_COOKIE_SECURE = True
157-
CSRF_COOKIE_SECURE = True
158-
SECURE_SSL_REDIRECT = True

0 commit comments

Comments
 (0)