laravel-debugbar
laravel-debugbar copied to clipboard
Fix `CSRF token mismatch.` on cache forget
If you add ['web']
middleware on debugbar.route_middleware
, the cache forget action gets CSRF token mismatch.
exception
Also others middleware could validate delete
route, this route is not deleting anything itself, it just forgets the cache.
Other option is adding `CSRF to header laravel/echo/src/connector/connector.ts#L60-L79