ed3ab22b88
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 148h13m38s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 148h13m43s
CI/CD Pipeline / Frontend Lint (push) Failing after 148h14m13s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 148h14m20s
根因:login_use_case.py 第14行错误地导入了模块而非实例 - 错误: from packages.application.auth import password_hasher - 正确: from packages.application.auth.password_hasher import password_hasher 这导致调用 password_hasher.verify_password() 时抛出 AttributeError: module 'packages.application.auth.password_hasher' has no attribute 'verify_password' 异常被 except Exception 捕获后返回 'Login failed: ...',最终显示为 '邮箱或密码错误',所有用户均无法登录。 修复后导入正确的 PasswordHasher 实例,登录功能恢复正常。 P1 紧急修复