This commit is contained in:
yumoqing 2024-11-05 23:55:53 +08:00
parent 3ee8d5bbab
commit a72cce2a64
3 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ async def get_session_user(request):
async def user_login(request, userid, username='', userorgid=''): async def user_login(request, userid, username='', userorgid=''):
info = f'{userid}:{username}:{userorgid}' info = f'{userid}:{username}:{userorgid}'
await auth.remember(request, userinfo) await auth.remember(request, userinfo)
async def user_logout(request): async def user_logout(request):
await auth.forget(request) await auth.forget(request)