bugfix
This commit is contained in:
parent
3ee8d5bbab
commit
a72cce2a64
Binary file not shown.
Binary file not shown.
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user