I would like to have a unique xsrf-token cookie for my environments like app_env:xsrf-token. Is there a config I am missing? it looks hard-coded to me.
I was sent here bycsrf https://github.com/laravel/ideas/issues/2621
You can extends the default VerifyCsrfToken middleware and overwrite the functions that are pointed out in that issue to use another cookie name.
That middleware can be placed on your routes in stead of the default version.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community