1
0
mirror of https://github.com/etesync/server synced 2024-11-29 03:58:16 +00:00

Remove unused var.

This commit is contained in:
Tom Hacohen 2020-12-28 15:27:29 +02:00
parent 1bca435d74
commit 3e39aa88a1

View File

@ -250,7 +250,7 @@ async def login(data: Login, request: Request):
@authentication_router.post("/logout/", status_code=status.HTTP_204_NO_CONTENT, responses=permission_responses) @authentication_router.post("/logout/", status_code=status.HTTP_204_NO_CONTENT, responses=permission_responses)
def logout(request: Request, auth_data: AuthData = Depends(get_auth_data)): def logout(auth_data: AuthData = Depends(get_auth_data)):
auth_data.token.delete() auth_data.token.delete()
user_logged_out.send(sender=auth_data.user.__class__, request=None, user=auth_data.user) user_logged_out.send(sender=auth_data.user.__class__, request=None, user=auth_data.user)