From 71be8cf32c0c6a4ae057d7ffab5fec569019d5ac Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 11 Nov 2024 17:17:55 +0800 Subject: [PATCH] bugfix --- ahserver/auth_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/auth_api.py b/ahserver/auth_api.py index c30186d..1a31e79 100755 --- a/ahserver/auth_api.py +++ b/ahserver/auth_api.py @@ -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}'