feat(channel): 添加2FA验证后查看渠道密钥功能
- 新增接口通过2FA验证后获取渠道密钥 - 统一实现2FA验证码和备用码的验证逻辑 - 记录用户查看密钥的操作日志 - 编辑渠道弹窗新增查看密钥按钮,触发2FA验证模态框 - 使用TwoFactorAuthModal进行验证码输入及验证 - 验证成功后弹出渠道密钥展示窗口 - 对渠道编辑模态框的状态进行了统一重置优化 - 添加相关国际化文案支持密钥查看功能
This commit is contained in:
@@ -1997,5 +1997,25 @@
|
||||
"深色": "Dark",
|
||||
"浅色": "Light",
|
||||
"点击复制模型名称": "Click to copy model name",
|
||||
"已复制:{{name}}": "Copied: {{name}}"
|
||||
"已复制:{{name}}": "Copied: {{name}}",
|
||||
"所有密钥已复制到剪贴板": "All keys have been copied to the clipboard",
|
||||
"密钥已复制到剪贴板": "Key copied to clipboard",
|
||||
"验证成功": "Verification successful",
|
||||
"渠道密钥列表": "Channel key list",
|
||||
"渠道密钥": "Channel key",
|
||||
"共 {{count}} 个密钥": "{{count}} keys in total",
|
||||
"复制全部": "Copy all",
|
||||
"JSON格式密钥,请确保格式正确": "JSON format key, please ensure the format is correct",
|
||||
"检测到多个密钥,您可以单独复制每个密钥,或点击复制全部获取完整内容。": "Detected multiple keys, you can copy each key individually or click Copy All to get the complete content.",
|
||||
"安全提醒": "Security reminder",
|
||||
"请妥善保管密钥信息,不要泄露给他人。如有安全疑虑,请及时更换密钥。": "Keep key information secure, do not disclose to others. If there are security concerns, please change the key immediately.",
|
||||
"安全验证": "Security verification",
|
||||
"验证": "Verify",
|
||||
"为了保护账户安全,请验证您的两步验证码。": "To protect account security, please verify your two-factor authentication code.",
|
||||
"支持6位TOTP验证码或8位备用码": "Supports 6-digit TOTP verification code or 8-digit backup code",
|
||||
"获取密钥失败": "Failed to get key",
|
||||
"查看密钥": "View key",
|
||||
"查看渠道密钥": "View channel key",
|
||||
"渠道密钥信息": "Channel key information",
|
||||
"密钥获取成功": "Key acquisition successful"
|
||||
}
|
||||
Reference in New Issue
Block a user