pull/304/head
Pavel Loginov 2021-03-16 23:05:29 +06:00 committed by GitHub
parent 9afcd0f213
commit 68be62e28a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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