mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-01 20:54:03 +01:00
19 lines
345 B
PHP
19 lines
345 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');
|
|
}
|
|
}
|