rwadurian/backend/services/auth-service
hailin 16da1d20f0 fix(auth): 修复设置支付密码时报错的问题
支付密码是6位纯数字,但 setTradePassword 调用了 Password.create()
走了登录密码的格式验证(要求≥8位+字母+数字),导致必然抛出异常。

新增 Password.createWithoutValidation() 方法,仅做 bcrypt hash
不走格式验证。支付密码的格式验证由 trade-password.service.ts 独立处理。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 09:01:33 -08:00
..
prisma feat(trade-password): 实现卖出交易的支付密码验证功能 2026-02-05 18:12:39 -08:00
src fix(auth): 修复设置支付密码时报错的问题 2026-02-26 09:01:33 -08:00
.env.example feat(auth-service,mining-app): 实现完整认证流程和CDC用户同步 2026-01-11 05:29:48 -08:00
Dockerfile fix(auth-service): add python3/make/g++ to builder stage for bcrypt 2026-01-12 20:20:41 -08:00
nest-cli.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00
package-lock.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00
package.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00
tsconfig.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00