Browse Source

Updated CSRF middleware reference

Nathaniel Blackburn 10 years ago
parent
commit
68009bb99c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Providers/RouteServiceProvider.php

+ 1 - 1
app/Providers/RouteServiceProvider.php

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