fix: 修复 ENABLE_REDIS_SESSION -> ENABLE_REDIS_SESSIONS 变量名不匹配导致登录500
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled

This commit is contained in:
2026-06-27 19:52:17 +08:00
parent e13ac8da52
commit 6871e191ae
+1 -1
View File
@@ -152,7 +152,7 @@ def get_workspace_invitation_repository(
def get_auth_session_store() -> SessionStore | NoopSessionStore:
"""Provide the session store based on configuration."""
if not settings.ENABLE_REDIS_SESSION:
if not settings.ENABLE_REDIS_SESSIONS:
return NoopSessionStore()
return SessionStore(redis_client=redis.from_url(settings.REDIS_URL, decode_responses=True))