fix: fix openid user can't login with face verify

pull/14688/head
Aaron3S 2024-12-19 10:56:26 +08:00
parent 4b637ad86e
commit 9fcb4ecba0
1 changed files with 1 additions and 1 deletions

View File

@ -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: