fix: 修复 ENABLE_REDIS_SESSION 变量名不匹配导致登录500 #58

Merged
xiaoxia merged 1 commits from fix/env-var-name-mismatch into develop 2026-06-27 19:52:36 +08:00
Owner

dependencies.py 中使用了 settings.ENABLE_REDIS_SESSION(单数),但 config.py 定义的字段是 ENABLE_REDIS_SESSIONS(复数),导致 pydantic Settings 抛出 AttributeError,所有需要 auth session 的接口均返回 500。

dependencies.py 中使用了 `settings.ENABLE_REDIS_SESSION`(单数),但 config.py 定义的字段是 `ENABLE_REDIS_SESSIONS`(复数),导致 pydantic Settings 抛出 AttributeError,所有需要 auth session 的接口均返回 500。
xiaoxia added 1 commit 2026-06-27 19:52:24 +08:00
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
6871e191ae
xiaoxia merged commit d1833d0bd4 into develop 2026-06-27 19:52:36 +08:00
Sign in to join this conversation.