Skip to content

opt-out of encrypt for a cookie #814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

circulon
Copy link
Contributor

Addresses #813

Adds an additional bool parameter to the cookie "encrypt"
defaults to True

When set to False the value is not encrypted before adding it to the request/response.
This allows data (JSON) strings to be parsed and used on the client side

@circulon circulon changed the title Feature/cookie encrypt opt out opt-out of encrypt for a cookie Aug 12, 2024
@josephmancuso josephmancuso merged commit bd03d85 into MasoniteFramework:4.0 Aug 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants