Skip to content

Commit

Permalink
Merge pull request #15379 from setpill/fix/load-trustproxies-middleware
Browse files Browse the repository at this point in the history
fixed #15374: load TrustProxies middleware in Kernel.php
  • Loading branch information
snipe authored Aug 23, 2024
2 parents 833dace + 1d7853c commit fc5eb37
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 fc5eb37

Please sign in to comment.