Skip to content

Commit

Permalink
🔧 Enable the default Cookie middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Aug 24, 2024
1 parent e270d80 commit 82356e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Roots/Acorn/Configuration/Middleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ public function getMiddlewareGroups()
{
$middleware = [
'web' => array_values(array_filter([
// \Illuminate\Cookie\Middleware\EncryptCookies::class,
// \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Cookie\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
// \Illuminate\Foundation\Http\Middleware\ValidateCsrfToken::class,
// \Illuminate\Foundation\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
$this->authenticatedSessions ? 'auth.session' : null,
])),
Expand Down

0 comments on commit 82356e1

Please sign in to comment.