From 3e39aa88a15579090286cc8a859c6d0256652caa Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 28 Dec 2020 15:27:29 +0200 Subject: [PATCH] Remove unused var. --- etebase_fastapi/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etebase_fastapi/authentication.py b/etebase_fastapi/authentication.py index df5dc62..9c66a7a 100644 --- a/etebase_fastapi/authentication.py +++ b/etebase_fastapi/authentication.py @@ -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) -def logout(request: Request, auth_data: AuthData = Depends(get_auth_data)): +def logout(auth_data: AuthData = Depends(get_auth_data)): auth_data.token.delete() user_logged_out.send(sender=auth_data.user.__class__, request=None, user=auth_data.user)