bugfix
This commit is contained in:
parent
85e9bb9466
commit
6b08a63eb8
@ -110,6 +110,7 @@ async def basic_auth(sor, auth):
|
|||||||
recs = await sor.sqlExe(sql, {'username':username,'password':password})
|
recs = await sor.sqlExe(sql, {'username':username,'password':password})
|
||||||
if len(recs) < 1:
|
if len(recs) < 1:
|
||||||
return None
|
return None
|
||||||
|
await user_login(request, recs[0].id,
|
||||||
return recs[0].id
|
return recs[0].id
|
||||||
|
|
||||||
async def bearer_auth(sor, auth):
|
async def bearer_auth(sor, auth):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user