Skip to content

Change config defaults for cookies.#1236

Merged
jwag956 merged 1 commit into
mainfrom
cookies
Jun 1, 2026
Merged

Change config defaults for cookies.#1236
jwag956 merged 1 commit into
mainfrom
cookies

Conversation

@jwag956

@jwag956 jwag956 commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Best practice these days is to set secure=True. This changes CSRF_COOKIE and TF_VALIDITY_COOKIE.

Also - TF_VALIDITY_COOKIE name is now configurable.

close #1228

@codecov

codecov Bot commented Jun 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.63%. Comparing base (1a5ae5c) to head (7c6fba7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1236   +/-   ##
=======================================
  Coverage   98.63%   98.63%           
=======================================
  Files          43       43           
  Lines        5367     5367           
=======================================
  Hits         5294     5294           
  Misses         73       73           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Best practice these days is to set ``secure=True``. This changes
CSRF_COOKIE and TF_VALIDITY_COOKIE.

Also - TF_VALIDITY_COOKIE name is now configurable.

close #1228
@jwag956 jwag956 merged commit 8239ba5 into main Jun 1, 2026
20 checks passed
@jwag956 jwag956 deleted the cookies branch June 1, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Change cookies to default to secure=True

1 participant