mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
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
Block a user