2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

remove unneeded pass

This commit is contained in:
Matthias
2022-01-21 02:13:41 +01:00
parent b3d031c473
commit 02058389b2

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: