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