bugfix
This commit is contained in:
parent
c42f39bc8b
commit
38b772e131
@ -31,6 +31,7 @@ async def get_secretkey(sor, appid):
|
|||||||
return f(secretkey)
|
return f(secretkey)
|
||||||
|
|
||||||
async def get_apikey_user(sor, apikey, client_ip):
|
async def get_apikey_user(sor, apikey, client_ip):
|
||||||
|
debug(f'{apikey=}, {client_ip=}')
|
||||||
f = get_serverenv('password_encode')
|
f = get_serverenv('password_encode')
|
||||||
apikey = f(apikey)
|
apikey = f(apikey)
|
||||||
sql = """select u.*, a.dappid, b.allowedips from downapikey a, users u, downapp b
|
sql = """select u.*, a.dappid, b.allowedips from downapikey a, users u, downapp b
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user