Skip to content

Commit

Permalink
Turn back SESSION_COOKIE_SECURE setting to True
Browse files Browse the repository at this point in the history
  • Loading branch information
earlinn committed Dec 26, 2023
1 parent 8bcff56 commit 96c4492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/good_food/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
# Security & sessions
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
SESSION_COOKIE_SECURE = False # TODO: turn back to True then
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
# TODO: change before presentation
SESSION_COOKIE_SAMESITE = "None"
Expand Down

0 comments on commit 96c4492

Please sign in to comment.