mirror of https://github.com/Aidaho12/haproxy-wi
v5.0.2.0
parent
9afcd0f213
commit
68be62e28a
|
@ -818,7 +818,7 @@ def get_dick_permit(**kwargs):
|
|||
if kwargs.get('keepalived'):
|
||||
nginx = "and keepalived = 1"
|
||||
|
||||
if funct.check_user_group(token=token):
|
||||
if funct.check_user_group():
|
||||
con, cur = get_cur()
|
||||
if grp == '1' and not only_group:
|
||||
sql = """ select * from servers where enable = 1 %s %s %s %s order by pos""" % (disable, type_ip, nginx, ip)
|
||||
|
|
Loading…
Reference in New Issue