Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keep CSRF token cookie as long as sign-in cookie; fixes #1538
Fixes an issue in which opening a new browser window can cause you to lose your CSRF token cookie (and therefore lose access to CRSF-guarded pages such as signout), since this cookie had no expiration and was therefore treated as a session cookie.
- Loading branch information
Showing
3 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters