From ca0455f9fcf27a4729880600ba63a5e24776b865 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 6 Nov 2024 00:03:25 +0800 Subject: [PATCH] bugfix --- ahserver/processorResource.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index 9f3bb3d..43fc173 100755 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -244,8 +244,12 @@ class ProcessorResource(StaticResource,Url2File): url = self.entireUrl(request, url) raise HTTPFound(url) - async def remember_user(userid): - await user_login(request, userid) + async def remember_user(userid, + username='', + userorgid=''): + await user_login(request, userid, + username=username, + userorgid=userorgid) async def remember_ticket(ticket): await auth.remember_ticket(request, ticket)