remove unneeded pass

This commit is contained in:
Matthias 2022-01-21 02:13:41 +01:00
parent b3d031c473
commit 02058389b2
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -65,7 +65,6 @@ class AuthRequiredMiddleware(object):
except Token.DoesNotExist:
logger.warning(f"Access denied for unknown token {token_key}")
pass
# No authorization was found for the request
if not authorized: