mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-11 09:40:43 +01:00
19 lines
344 B
PHP
19 lines
344 B
PHP
<?php
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
use Illuminate\Http\Middleware\TrustProxies as Middleware;
|
|
|
|
class TrustProxies extends Middleware
|
|
{
|
|
/**
|
|
* TrustProxies constructor.
|
|
*
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function __construct()
|
|
{
|
|
$this->proxies = (string) config('2fauth.config.trustedProxies');
|
|
}
|
|
}
|