fix: 修复ip被锁定列表展示数据不准问题

pull/11528/head
feng 2023-09-07 11:32:38 +08:00 committed by 老广
parent 23723f4eda
commit 8632bd2480
1 changed files with 0 additions and 1 deletions

View File

@ -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