fix: The luna page cannot switch language settings

pull/15586/head
wangruidong 2025-06-13 16:30:18 +08:00 committed by w940853815
parent 98342e0b70
commit 71bf8c8699
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class LocaleMiddleware:
@staticmethod
def check_white_urls(request):
white_urls = [
'core/auth/login', 'jsi18n/', '/static/', '/core/i18n/'
'core/auth/login', 'jsi18n/', '/static/', '/core/i18n/', '/authentication/user-session/'
]
for url in white_urls:
if request.path.find(url) > -1: