From d1833d0bd4dad4248fd0d6ffad26c2ea340c9742 Mon Sep 17 00:00:00 2001 From: xiaoxia-dev Date: Sat, 27 Jun 2026 19:52:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20ENABLE=5FREDIS=5FSE?= =?UTF-8?q?SSION=20=E5=8F=98=E9=87=8F=E5=90=8D=E4=B8=8D=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=99=BB=E5=BD=95500=20(#58)=20Co-authored-b?= =?UTF-8?q?y:=20xiaoxia-dev=20=20Co-committed-by:?= =?UTF-8?q?=20xiaoxia-dev=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/api/app/dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/app/dependencies.py b/apps/api/app/dependencies.py index c85f51824..4e8152928 100644 --- a/apps/api/app/dependencies.py +++ b/apps/api/app/dependencies.py @@ -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))