去掉登录白名单
This commit is contained in:
parent
47704384d0
commit
c1d02e9a04
|
@ -132,7 +132,7 @@ class LoginController extends Controller
|
||||||
$whtelist = config('whitelist.login');
|
$whtelist = config('whitelist.login');
|
||||||
$ip = $request->getClientIp();
|
$ip = $request->getClientIp();
|
||||||
if (!in_array($ip, $whtelist)) {
|
if (!in_array($ip, $whtelist)) {
|
||||||
return response()->json(['error' => 1, 'msg' => 'err']);
|
// return response()->json(['error' => 1, 'msg' => 'err']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$error = $this->validatorForm($request);
|
$error = $this->validatorForm($request);
|
||||||
|
|
|
@ -3,45 +3,8 @@
|
||||||
return [
|
return [
|
||||||
'login'=>[
|
'login'=>[
|
||||||
'96.9.70.209',
|
'96.9.70.209',
|
||||||
'106.53.75.102',
|
'47.243.103.30',
|
||||||
'43.229.55.30',
|
'8.218.191.161',
|
||||||
'175.100.50.77',
|
|
||||||
'43.239.178.100',
|
|
||||||
'45.121.144.215',
|
|
||||||
'43.239.178.227',
|
|
||||||
'49.156.32.40',
|
|
||||||
'175.100.50.73',
|
|
||||||
'175.100.50.75',
|
|
||||||
'43.239.178.154',
|
|
||||||
'49.156.33.249',
|
|
||||||
'49.156.33.250',
|
|
||||||
'49.156.33.250',
|
|
||||||
'43.229.55.125',
|
|
||||||
'175.100.50.72',
|
|
||||||
'49.156.33.180',
|
|
||||||
'127.0.0.1',
|
|
||||||
'110.74.213.253',
|
|
||||||
'106.53.90.157',
|
|
||||||
'43.229.55.182',
|
|
||||||
'103.30.199.88',
|
|
||||||
'106.53.86.168',
|
|
||||||
'103.229.64.217',
|
|
||||||
'103.47.241.106',
|
|
||||||
'110.74.196.112',
|
|
||||||
'49.156.32.13',
|
|
||||||
'47.241.164.229',
|
|
||||||
'43.132.190.48',
|
|
||||||
'113.130.126.248',
|
|
||||||
'1.14.138.207',
|
|
||||||
'43.128.19.164',
|
|
||||||
'117.20.113.77',
|
|
||||||
'203.144.75.167',
|
|
||||||
'203.144.75.66',
|
|
||||||
'156.255.88.48',
|
|
||||||
'1.14.138.207',
|
|
||||||
'42.193.190.74',
|
|
||||||
'43.132.238.46',
|
|
||||||
'8.218.115.62',
|
|
||||||
],
|
],
|
||||||
'api'=>[
|
'api'=>[
|
||||||
'45.195.84.39'
|
'45.195.84.39'
|
||||||
|
|
Loading…
Reference in New Issue