From 02058389b2b0845bdc5802129f57b3486ca8b3e1 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 21 Jan 2022 02:13:41 +0100 Subject: [PATCH] remove unneeded pass --- InvenTree/InvenTree/middleware.py | 1 - 1 file changed, 1 deletion(-) diff --git a/InvenTree/InvenTree/middleware.py b/InvenTree/InvenTree/middleware.py index 0d7a4f46f7..a9c43c71b6 100644 --- a/InvenTree/InvenTree/middleware.py +++ b/InvenTree/InvenTree/middleware.py @@ -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: