Browse Source

Update RouteServiceProvider.php

Removed the CSRF provider as it is specified in the Kernel.
Nathaniel Blackburn 10 years ago
parent
commit
08c6996d77
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/Providers/RouteServiceProvider.php

+ 0 - 1
app/Providers/RouteServiceProvider.php

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