Disabling CSRF in Laravel 11 #50
Answered
by
jonodonovan
colinmackinlay
asked this question in
Bugs
-
Since upgrading to L11 I get an error when submitting support bubble requests: I have the suggested exception in
This worked fine pre-upgrade but now that middleware is dealt with differently this class isn't part of the applied middleware. I don't really want to manually apply all the standard middleware and just change VerifyCsrfToken to my own one. Can anyone help? PS I've filed this under bugs but its probably more about a documentation update being needed for L11 and CSRF |
Beta Was this translation helpful? Give feedback.
Answered by
jonodonovan
Sep 4, 2024
Replies: 1 comment 3 replies
-
Did you get it to work? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the fix
In boostrap/app add
Then update the env file from
QUEUE_CONNECTION=database
to
QUEUE_CONNECTION=sync
Tested working locally and prod