Skip to content

Commit

Permalink
Fix CSRF Protection (#1772)
Browse files Browse the repository at this point in the history
Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
  • Loading branch information
arthurpar06 and nabeelio authored Feb 14, 2024
1 parent cea90aa commit 5bc1de5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use App\Http\Middleware\SetActiveTheme;
use App\Http\Middleware\TrustProxies;
use App\Http\Middleware\UpdatePending;
use App\Http\Middleware\VerifyCsrfToken;
use Illuminate\Auth\Middleware\Authenticate;
use Illuminate\Auth\Middleware\Authorize;
use Illuminate\Auth\Middleware\EnsureEmailIsVerified;
Expand Down Expand Up @@ -46,7 +47,7 @@ class Kernel extends HttpKernel
AddQueuedCookiesToResponse::class,
StartSession::class,
ShareErrorsFromSession::class,
// VerifyCsrfToken::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
SetActiveTheme::class,
SetActiveLanguage::class,
Expand Down

0 comments on commit 5bc1de5

Please sign in to comment.