From 97e6af4c6467f8dc2fc678e49bd43e1375524519 Mon Sep 17 00:00:00 2001 From: nick2wang Date: Wed, 25 May 2022 10:33:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD/admin/login=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/middleware/check_login_middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/middleware/check_login_middleware.py b/common/middleware/check_login_middleware.py index 3a7e4a539c..16973b6385 100644 --- a/common/middleware/check_login_middleware.py +++ b/common/middleware/check_login_middleware.py @@ -11,7 +11,7 @@ '/api/info' ] -IGNORE_URL_RE = r'(/admin/\w*|/api/(v1|auth)/\w+)' +IGNORE_URL_RE = r'/api/(v1|auth)/\w+' class CheckLoginMiddleware(MiddlewareMixin):