Commit Graph

6 Commits

Author SHA1 Message Date
Taylor Otwell c3e3d9dc4b Include CSRF middleware in base install for easy override / whitelist.
This makes it easy to skip CSRF verification for things like web hooks
and such from GitHub / Stripe.
2015-01-26 19:32:22 -06:00
Taylor Otwell 97287c89fe Update middleware. 2014-11-10 13:25:08 -06:00
Taylor Otwell bdb839222d Check type of token. 2014-11-09 16:31:08 -06:00
Taylor Otwell 754ea2656c Tweak wording. 2014-11-06 13:11:17 -06:00
Michaël Lecerf 70d516b7ce Prevent TokenMismatchException for HTTP OPTIONS requests
`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.
2014-11-05 13:09:12 +01:00
Taylor Otwell 9aed9debca Tweak how console commands are registered. 2014-10-21 10:27:26 -05:00