mirror of https://github.com/jumpserver/jumpserver
fix: 修复ip被锁定列表展示数据不准问题
parent
23723f4eda
commit
8632bd2480
|
@ -26,7 +26,6 @@ class BlockIPSecurityAPI(ListAPIView):
|
|||
|
||||
white_list = settings.SECURITY_LOGIN_IP_WHITE_LIST
|
||||
ips = list(set(ips) - set(white_list))
|
||||
ips = settings.SECURITY_LOGIN_IP_BLACK_LIST
|
||||
ips = [ip for ip in ips if ip != '*']
|
||||
return ips
|
||||
|
||||
|
|
Loading…
Reference in New Issue