Browse Source

Merge pull request #3112 from nblackburn/patch-1

Updated CSRF middleware reference
Taylor Otwell 10 years ago
parent
commit
10452da7b5
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/Providers/RouteServiceProvider.php

+ 0 - 1
app/Providers/RouteServiceProvider.php

@@ -13,7 +13,6 @@ class RouteServiceProvider extends ServiceProvider {
 	protected $middleware = [
 		'auth' => 'App\Http\Middleware\Authenticated',
 		'auth.basic' => 'App\Http\Middleware\AuthenticatedWithBasicAuth',
-		'csrf' => 'App\Http\Middleware\CsrfTokenIsValid',
 		'guest' => 'App\Http\Middleware\IsGuest',
 	];