Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Session Only Cookies (#1752)
* feat(ctx): add SessionOnly property on Cookie struct * feat(middleware/config): add CookieSessionOnly property on middleware Config struct * feat(csrf): link config CookieSessionOnly with fiber.Cookie in create middleware function * fix(ctx_test): add tests for SessionOnly cookie in test_ctx_cookie * fix(readme): update readme in csrf middleware for CookieSessionOnly property * remove deprecated property from CookieSessionOnly explaination comments
- Loading branch information
Showing
5 changed files
with
50 additions
and
26 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
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