安全加固层B:玩家端2FA(TOTP)绑定——/2fa add生成二维码申请、/2fa code动态码完成绑定、/2fa remove+30秒聊天confirm解绑;Base32/TOTP本地实现,users表加4列,PHP只做二维码展示
Check Source / check (push) Successful in 3s
Auto Release / build (push) Failing after 48s
Simple Test / test (push) Successful in 1s
Test Env / test (push) Successful in 1s

This commit is contained in:
youpaishidifu
2026-10-01 10:16:38 +08:00
parent e941365a41
commit 32aa2bab05
5 changed files with 495 additions and 0 deletions
+3
View File
@@ -63,6 +63,9 @@ commands:
email:
description: 绑定邮箱
usage: /email <邮箱>
2fa:
description: 二次验证(TOTP)绑定
usage: /2fa add|code <6位>|remove <6位>
绑定:
description: 绑定邮箱(中文)
usage: /绑定 <邮箱>