mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-25 10:33:45 +03:00
Remove unreachable code in LogoutView
This commit is contained in:
parent
f95c42036b
commit
e8cd780ae2
|
@ -96,8 +96,6 @@ class LogoutView(APIView):
|
||||||
response = self.handle_exception(exc)
|
response = self.handle_exception(exc)
|
||||||
|
|
||||||
return self.finalize_response(request, response, *args, **kwargs)
|
return self.finalize_response(request, response, *args, **kwargs)
|
||||||
self.response = self.finalize_response(request, response, *args, **kwargs)
|
|
||||||
return self.response
|
|
||||||
|
|
||||||
def post(self, request):
|
def post(self, request):
|
||||||
return self.logout(request)
|
return self.logout(request)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user