fix: correct ENABLE_REDIS_SESSIONS typo to ENABLE_REDIS_SESSION

This commit is contained in:
2026-06-27 14:45:50 +08:00
parent eb10c1638f
commit 388aafbab0
+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_SESSIONS:
if not settings.ENABLE_REDIS_SESSION:
return NoopSessionStore()
return SessionStore(redis_client=redis.from_url(settings.REDIS_URL, decode_responses=True))