Commit Graph

74 Commits

Author SHA1 Message Date
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
Taylor Otwell 0c3f1c967c Merge pull request #3118 from miclf/patch-1
Prevent TokenMismatchException for HTTP OPTIONS requests
2014-11-06 13:10:14 -06:00
Taylor Otwell fcca359778 Working on middleware. 2014-11-05 11:18:00 -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
Taylor Otwell ec9edec9a2 Rename CSRF middleware. 2014-10-20 17:16:06 -05:00
Taylor Otwell 2542829d84 Rename auth middlewares. 2014-10-20 16:46:56 -05:00
Taylor Otwell 93b9415cd0 Update middleware. 2014-10-20 16:45:39 -05:00
Taylor Otwell 75393db929 Rename a few things. 2014-10-12 20:46:47 -05:00
Taylor Otwell c6722869a8 Merge pull request #3061 from antonioribeiro/patch-2
Remove unused Route
2014-10-11 21:04:52 -05:00
Taylor Otwell 18301a1fd2 Merge pull request #3062 from jlaswell/patch-1
MaintenanceMiddleware implement Contract
2014-10-11 21:04:43 -05:00
Taylor Otwell c39679bb86 Merge pull request #3065 from johnhout/patch-1
Added @throws TokenMismatchException
2014-10-11 21:04:26 -05:00
John in 't Hout 6c0b7916a4 Update CsrfMiddleware.php 2014-10-11 01:02:23 +02:00
John in 't Hout 409fa574fc Update CsrfMiddleware.php 2014-10-10 22:56:00 +02:00
Taylor Otwell 714f6a5574 Fix method call. 2014-10-09 22:27:01 -05:00
Taylor Otwell e5e7af82a6 Fix check. 2014-10-09 21:56:13 -05:00
Taylor Otwell 4d0de14b45 tweaks CSRF filter. 2014-10-09 21:50:52 -05:00
John in 't Hout 75cc5a7e2e Added @throws TokenMismatchException
Since modern IDE's will expect you to define the @throws attribute, added this to the Docblock.
2014-10-09 23:28:45 +02:00
John Laswell 568d06d903 MaintenanceMiddleware contract
Update MaintenanceMiddleware to implement the Middleware contract.
2014-10-08 21:30:27 -04:00
Antonio Carlos Ribeiro f17ac36e6a Remove unused Route 2014-10-08 21:03:28 -03:00
Taylor Otwell b8f3dd6265 Working on middle wares. 2014-10-06 15:46:34 -05:00
Taylor Otwell d2937ea714 Working on stack. 2014-10-06 15:25:53 -05:00