|
@@ -21,7 +21,6 @@ class CompanyAuth
|
|
|
$validate = new CompanyAuthRequest($request);
|
|
|
$validate->validate();
|
|
|
$client_ip = CommonHelper::GetClientIp();
|
|
|
- $request->setTrustedProxies(['111.222.333.444']);
|
|
|
if (in_array($client_ip, $service->CompanyAuthIps($app_id))) {
|
|
|
$params = $request->except('_url');
|
|
|
$timestamp = (int) $params['timestamp'];
|