fix: correct ENABLE_REDIS_SESSIONS typo to ENABLE_REDIS_SESSION #46

Merged
xiaoxia merged 1 commits from fix/enable-redis-session-typo into develop 2026-06-27 14:46:20 +08:00
+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))