Skip to content

Commit

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

0 comments on commit e9896ce

Please sign in to comment.