remove dead code

This commit is contained in:
Matthias 2022-05-13 01:23:25 +02:00
parent 6b550e0547
commit 80a2dad34e
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -71,10 +71,6 @@ class AuthRequiredMiddleware(object):
# No authorization was found for the request
if not authorized:
# A logout request will redirect the user to the login screen
if request.path_info == reverse_lazy('account_logout'):
return HttpResponseRedirect(reverse_lazy('account_login'))
path = request.path_info
# List of URL endpoints we *do not* want to redirect to