P0安全修复: WS token改subprotocol + nginx日志关闭 + 类型修复 + 降级验证 + 依赖

This commit is contained in:
Simon
2026-06-14 21:21:48 +08:00
parent edbb86835e
commit ddebbe61a5
12 changed files with 628 additions and 27 deletions
+2
View File
@@ -70,6 +70,8 @@ python-dotenv==1.0.1
# --------------------------------------------------------------------------
# pyotp: TOTP/HOTP 动态码生成和验证(Google Authenticator 兼容)
pyotp==2.9.0
# bcrypt: 密码哈希库(用于本地密码认证)
bcrypt==4.1.2
# qrcode: 二维码生成(用于 OTP 绑定)
qrcode[pil]==7.4.2
# pillow: 图片处理(qrcode[pil] 依赖)