Merge pull request #14688 from jumpserver/pr@dev@fix_face_openid

fix: fix openid user can't login with face verify
This commit is contained in:
Chenyang Shen 2024-12-19 11:08:45 +08:00 committed by GitHub
commit e9abd1e72d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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: