bugfix
This commit is contained in:
parent
f4b66212d5
commit
71be8cf32c
@ -40,7 +40,7 @@ async def get_session_userinfo(request):
|
||||
|
||||
async def get_session_user(request):
|
||||
userinfo = await get_session_userinfo(request)
|
||||
return userinfo.user
|
||||
return userinfo.userid
|
||||
|
||||
async def user_login(request, userid, username='', userorgid=''):
|
||||
ui = f'{userid}:{username}:{userorgid}'
|
||||
|
Loading…
Reference in New Issue
Block a user