fix: correct ENABLE_REDIS_SESSIONS typo to ENABLE_REDIS_SESSION #46
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user