From 9fcb4ecba011ea290020b0e86db7c1f393345b1b Mon Sep 17 00:00:00 2001 From: Aaron3S Date: Thu, 19 Dec 2024 10:56:26 +0800 Subject: [PATCH] fix: fix openid user can't login with face verify --- apps/authentication/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/authentication/middleware.py b/apps/authentication/middleware.py index 64f8818a9..53b91fbee 100644 --- a/apps/authentication/middleware.py +++ b/apps/authentication/middleware.py @@ -35,7 +35,7 @@ class MFAMiddleware: # 这个是 mfa 登录页需要的请求, 也得放出来, 用户其实已经在 CAS/OIDC 中完成登录了 white_urls = [ - 'login/mfa', 'mfa/select', 'mfa/face','jsi18n/', '/static/', + 'login/mfa', 'mfa/select', 'face/context','jsi18n/', '/static/', '/profile/otp', '/logout/', ] for url in white_urls: