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}'