Skip to content

Instantly share code, notes, and snippets.

@whobutsb
Last active March 11, 2022 16:34
Show Gist options
  • Save whobutsb/686ccc7a58bb9b1f6ce7787f333a5aaf to your computer and use it in GitHub Desktop.
Save whobutsb/686ccc7a58bb9b1f6ce7787f333a5aaf to your computer and use it in GitHub Desktop.
Kernel.php
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
// \Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
\App\Http\Middleware\CloudFrontCookie::class,
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment