mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 03:55:41 +00:00
remove unneeded pass
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user