2FAuth/app/Http/Middleware/TrustProxies.php

19 lines
344 B
PHP
Raw Normal View History

2019-05-20 07:37:41 +02:00
<?php
namespace App\Http\Middleware;
2021-12-02 13:15:53 +01:00
use Illuminate\Http\Middleware\TrustProxies as Middleware;
2019-05-20 07:37:41 +02:00
class TrustProxies extends Middleware
{
2022-04-14 11:34:40 +02:00
/**
* TrustProxies constructor.
2024-09-26 23:50:01 +02:00
*
2024-07-03 11:16:08 +02:00
* @codeCoverageIgnore
2022-04-14 11:34:40 +02:00
*/
public function __construct()
{
$this->proxies = (string) config('2fauth.config.trustedProxies');
}
2022-11-22 15:15:52 +01:00
}