Skip to content

Commit

Permalink
fixed #15374: load TrustProxies middleware in Kernel.php
Browse files Browse the repository at this point in the history
  • Loading branch information
setpill committed Aug 22, 2024
1 parent 833dace commit 1d7853c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Kernel extends HttpKernel
* @var array
*/
protected $middleware = [
\App\Http\Middleware\TrustProxies::class,
\App\Http\Middleware\NoSessionStore::class,
\Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Session\Middleware\StartSession::class,
Expand Down

0 comments on commit 1d7853c

Please sign in to comment.