1 Commits

Author SHA1 Message Date
whm
ec3b12c4f2 fix: set Secure attribute when clearing dt_token on logout
logout() called delete_cookie() with only samesite, which defaults
secure=False. When cookie_secure=true (SameSite=None), that produces
an invalid SameSite=None-without-Secure expiry header that browsers
reject, leaving the original dt_token cookie in place after sign-out.

Closes #623

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 19:59:23 +08:00