laravel-caffeine
laravel-caffeine copied to clipboard
XSRF Header Support
It seems as though the package only accounts for a token to come through. I am using laravel with inertiajs which uses the XSRF header and cookie but it doesn't seem like that will work. Am I missing something in the documentation? Would it be possible to get the package updated to also check for that header?
https://laravel.com/docs/10.x/csrf#csrf-x-xsrf-token
@LoganTFox would love to accept a PR for this. It would be perfect if you could test it in your environment to make sure it works.
This should now be fixed in version 12.0.0. Please let me know if you encounter any issues! :)