安全加固层B:玩家端2FA(TOTP)绑定——/2fa add生成二维码申请、/2fa code动态码完成绑定、/2fa remove+30秒聊天confirm解绑;Base32/TOTP本地实现,users表加4列,PHP只做二维码展示
This commit is contained in:
@@ -63,6 +63,9 @@ commands:
|
||||
email:
|
||||
description: 绑定邮箱
|
||||
usage: /email <邮箱>
|
||||
2fa:
|
||||
description: 二次验证(TOTP)绑定
|
||||
usage: /2fa add|code <6位>|remove <6位>
|
||||
绑定:
|
||||
description: 绑定邮箱(中文)
|
||||
usage: /绑定 <邮箱>
|
||||
|
||||
Reference in New Issue
Block a user