mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-02 05:03:52 +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');
|
|
}
|
|
}
|