Commit 3b7385b
committed
fix(auth): set Secure and SameSite on the session-clearing cookie
The logout cookie dropped the attributes the login cookie was set with, so a
strict browser could decline to overwrite the Secure cookie and leave the
session cookie in place — and CodeQL flagged the missing Secure flag. Match
setSessionCookie's attributes so the deletion actually takes.1 parent 6489910 commit 3b7385b
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
593 | 597 | | |
594 | 598 | | |
595 | | - | |
| 599 | + | |
596 | 600 | | |
597 | 601 | | |
598 | 602 | | |
| |||
0 commit comments