VerifyCsrfToken.php
1.04 KB
-
Prevent TokenMismatchException for HTTP OPTIONS requests · 70d516b7
`OPTIONS` HTTP requests should be treated in the same way than `GET` requests by the `VerifyCsrfToken` middleware. Otherwise, an exception is thrown, thus preventing any `OPTIONS` route to work.
Michaël Lecerf committed