Skip to content

Commit

Permalink
Fix secure settings in settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Anirban-Majumder committed Apr 13, 2024
1 parent b31bd10 commit 5124587
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5124587

Please sign in to comment.