|
@@ -13,11 +13,21 @@ class Kernel extends HttpKernel
|
|
*/
|
|
*/
|
|
protected $middleware = [
|
|
protected $middleware = [
|
|
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
|
|
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
|
|
- \App\Http\Middleware\EncryptCookies::class,
|
|
|
|
- \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
|
|
|
- \Illuminate\Session\Middleware\StartSession::class,
|
|
|
|
- \Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
|
|
|
- \App\Http\Middleware\VerifyCsrfToken::class,
|
|
|
|
|
|
+ ];
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * The application's route middleware groups.
|
|
|
|
+ *
|
|
|
|
+ * @var array
|
|
|
|
+ */
|
|
|
|
+ protected $middlewareGroups = [
|
|
|
|
+ 'web' => [
|
|
|
|
+ \App\Http\Middleware\EncryptCookies::class,
|
|
|
|
+ \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
|
|
|
+ \Illuminate\Session\Middleware\StartSession::class,
|
|
|
|
+ \Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
|
|
|
+ \App\Http\Middleware\VerifyCsrfToken::class,
|
|
|
|
+ ],
|
|
];
|
|
];
|
|
|
|
|
|
/**
|
|
/**
|