Browse Source

Update middleware list.

Taylor Otwell 10 years ago
parent
commit
6e0a5603fe
1 changed files with 2 additions and 3 deletions
  1. 2 3
      app/Http/Kernel.php

+ 2 - 3
app/Http/Kernel.php

@@ -13,9 +13,8 @@ class Kernel extends HttpKernel {
 	protected $middleware = [
 		'App\Http\Middleware\UnderMaintenance',
 		'Illuminate\Cookie\Middleware\EncryptCookies',
-		'Illuminate\Cookie\Middleware\AddQueuedCookiesToRequest',
-		'Illuminate\Session\Middleware\ReadSession',
-		'Illuminate\Session\Middleware\WriteSession',
+		'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
+		'Illuminate\Session\Middleware\StartSession',
 		'Illuminate\View\Middleware\ShareErrorsFromSession',
 		'App\Http\Middleware\VerifyCsrfToken',
 	];