Browse Source

Add CSRF middleware to main app stack.

Taylor Otwell 10 years ago
parent
commit
c0019c6fcb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Providers/AppServiceProvider.php

+ 1 - 0
app/Providers/AppServiceProvider.php

@@ -30,6 +30,7 @@ class AppServiceProvider extends ServiceProvider {
 		'Illuminate\Session\Middleware\Reader',
 		'Illuminate\Session\Middleware\Writer',
 		'Illuminate\View\Middleware\ErrorBinder',
+		'App\Http\Middleware\CsrfMiddleware',
 	];
 
 	/**