This commit is contained in:
yumoqing 2024-11-06 00:03:25 +08:00
parent a72cce2a64
commit ca0455f9fc

View File

@ -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)