fix: 修复 ENABLE_REDIS_SESSION 变量名不匹配导致登录500 #58
Reference in New Issue
Block a user
Delete Branch "fix/env-var-name-mismatch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dependencies.py 中使用了
settings.ENABLE_REDIS_SESSION(单数),但 config.py 定义的字段是ENABLE_REDIS_SESSIONS(复数),导致 pydantic Settings 抛出 AttributeError,所有需要 auth session 的接口均返回 500。