remove unneeded pass
This commit is contained in:
parent
b3d031c473
commit
02058389b2
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue