Commit Graph

42 Commits

Author SHA1 Message Date
Taylor Otwell f9ed4ff7ac Override cookie encrypter by default. 2015-06-08 21:16:01 -05:00
Graham Campbell bf3785d0bc Additional cs fixes
Signed-off-by: Graham Campbell <graham@cachethq.io>
2015-06-01 15:46:45 +01:00
Patrick Brouwers f1beeb4d3b Remove redundant Closure namespace import in VerifyCsrfToken 2015-05-09 14:25:42 +02:00
Taylor Otwell 89f568156f No need to override this by default anymore. 2015-04-30 14:59:22 -05:00
Taylor Otwell b22a1f48c8 Fix typo. 2015-04-30 14:19:00 -05:00
Taylor Otwell 4e8d5533bd Stub out except property. 2015-04-30 14:18:27 -05:00
Taylor Otwell 8909e75552 Some spacing. 2015-03-02 15:31:27 -06:00
Taylor Otwell c9c0380b34 Just use helper function in middleware. 2015-03-01 21:35:37 -06:00
Taylor Otwell 4c78958b5b Tweak a few things. 2015-02-22 22:37:16 -06:00
Taylor Otwell cc2139ac91 Tweaking a few things. 2015-02-22 21:56:03 -06:00
Taylor Otwell f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
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 caa166f5d6 Remove middleware interface. 2015-01-05 13:16:21 -06:00
Taylor Otwell 634c96d8d9 Rename dashboard to home. 2014-11-24 19:33:07 -06:00
Taylor Otwell f8aeffc76a Tweak welcome view. 2014-11-24 11:47:49 -06:00
Taylor Otwell ca2f02284c Rename middleware to more "action" words. 2014-11-11 12:51:55 -06:00
Taylor Otwell e02e3456ed Update middleware reference. 2014-11-10 13:43:44 -06:00
Taylor Otwell a98c0d64c7 Move middleware. 2014-11-10 13:38:19 -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
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