Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SameSite cookie issue for dark mode #1433

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

sabderemane
Copy link
Member

Prior to this change, we can't change the dark mode multiple times due to the new property SameSite missing.

This change add the property SameSite and the attribute Secure with it's for production purpose.
It also corrects the expiration of the cookie.

Prior to this change, we can't change
the dark mode multiple times due to the
new property `SameSite` missing.

This change add the property `SameSite`
and the attribute `Secure` with it's for
production purpose. It also corrects the
expiration of the cookie.
@sabderemane sabderemane merged commit 6099d8e into django:main Nov 24, 2023
2 checks passed
@sabderemane sabderemane deleted the fix-dark-mode-cookie branch November 24, 2023 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant