bugfix
This commit is contained in:
parent
7e218a68a6
commit
45ee8653c2
@ -34,7 +34,7 @@ async def get_apikey_user(sor, apikey, client_ip):
|
|||||||
f = get_serverenv('password_encode')
|
f = get_serverenv('password_encode')
|
||||||
apikey = f(apikey)
|
apikey = f(apikey)
|
||||||
sql = """select u.*, b.allowedips from downapikey a, users u, downapp b
|
sql = """select u.*, b.allowedips from downapikey a, users u, downapp b
|
||||||
where a.userid = b.id
|
where a.userid = u.id
|
||||||
and b.id = a.dappid
|
and b.id = a.dappid
|
||||||
and apikey=${apikey}$
|
and apikey=${apikey}$
|
||||||
and expired_date > ${today}$"""
|
and expired_date > ${today}$"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user