MasoniteFramework/masonite

Support for global session cookie settings

Closed this issue · 1 comments

Is your feature request related to a problem?

We can not set the cookie settings from config

What do we currently have to do now?

Currently we have to provide the cookie settings every time cookie created

Describe the solution you'd like

We can put the cookie settings in config/session.py file
DRIVERS = { "default": "cookie", "cookie": { "samesite": "lax" }, }

Describe alternatives you've considered

No response

Would this be a breaking change ?

  • Yes

Anything else ?

No response

here is the pull request 801