From b95099189b7d3c9b3242a3e380e7a5227007c8b4 Mon Sep 17 00:00:00 2001 From: shandy siswandi Date: Tue, 1 Jul 2025 14:25:53 +0700 Subject: [PATCH] fix: remove redundant AccessibilityMiddleware entry from middleware list (#781) --- horilla/horilla_middlewares.py | 1 - 1 file changed, 1 deletion(-) diff --git a/horilla/horilla_middlewares.py b/horilla/horilla_middlewares.py index 9a1b14b05..b9ede17cb 100644 --- a/horilla/horilla_middlewares.py +++ b/horilla/horilla_middlewares.py @@ -15,7 +15,6 @@ MIDDLEWARE.append("base.middleware.CompanyMiddleware") MIDDLEWARE.append("horilla.horilla_middlewares.MethodNotAllowedMiddleware") MIDDLEWARE.append("horilla.horilla_middlewares.ThreadLocalMiddleware") MIDDLEWARE.append("accessibility.middlewares.AccessibilityMiddleware") -MIDDLEWARE.append("accessibility.middlewares.AccessibilityMiddleware") MIDDLEWARE.append("base.middleware.ForcePasswordChangeMiddleware") MIDDLEWARE.append("base.middleware.TwoFactorAuthMiddleware") _thread_locals = threading.local()