fix: Redis session env fix + JWT import path fix (登录失败根因修复) #52

Merged
xiaoxia merged 2 commits from hotfix/redis-session-env-fix into develop 2026-06-27 17:18:11 +08:00

2 Commits

Author SHA1 Message Date
xiaoxia 88c02e1532 fix: 修复 jwt_service.py 错误的 settings 导入路径导致登录 401
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- packages.config.settings 模块不存在,改为 from app.config import settings
- 此 bug 导致 JWT token 生成时 ModuleNotFoundError,被 except 捕获后返回通用 401
2026-06-27 17:17:38 +08:00
xiaoxia e068e301a1 fix: 统一 ENABLE_REDIS_SESSIONS 命名,修复登录因 AttributeError 导致 500
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
2026-06-27 17:05:48 +08:00