feat(api): 添加或删除 passkey、修改邮箱前须 5 分钟内用已有因子重新验证,变更后邮件通知账户,面板加确认对话框与修改邮箱入口

This commit is contained in:
Lemon-miaow committed 2026-09-25 14:47:54 +08:00
1 parent 9e7f23ca13
commit d3769b5c31
36 files changed
+2735 -288

No files matched your search

+16 -1
View File
@@ -89,5 +89,20 @@
"migration_redeem_placeholder": "Transfer code",
"migration_redeeming": "Redeeming…",
"migration_redeem_btn": "Redeem",
"migration_redeemed": "Migration complete — {{count}} server(s) moved to this account."
"migration_redeemed": "Migration complete — {{count}} server(s) moved to this account.",
"reauth_title": "Confirm it's you",
"reauth_desc": "Adding or removing a passkey and changing the email need a fresh check with a way in you already have. The check lasts 5 minutes.",
"reauth_checking": "Checking how you can confirm…",
"reauth_passkey_btn": "Use a passkey",
"reauth_passkey_waiting": "Waiting for your passkey…",
"reauth_or": "or",
"reauth_email_btn": "Email a code to {{email}}",
"reauth_code_label": "Code sent to {{email}}",
"reauth_confirm_btn": "Confirm",
"reauth_confirming": "Confirming…",
"reauth_resend": "Send another code",
"reauth_sign_in_desc": "Operator accounts can also sign out and sign in again. A fresh sign-in counts for 5 minutes.",
"reauth_sign_in_btn": "Sign out and sign in again",
"reauth_done_continue": "Confirmed. Press Continue to add the passkey.",
"email_change_desc": "Enter the new address and we'll send it a code. Once it's verified, sign-in codes go there, the old address gets a notice, and your other devices are signed out."
}
@@ -78,6 +78,9 @@
"passkey_login_failed": "Passkey verification failed — try again.",
"passkey_login_invalid": "That Passkey sign-in request is invalid or expired — start it again.",
"too_many_challenges": "Too many verification attempts right now — try again shortly.",
"reauth_required": "Confirm it's you first: this change needs your Passkey or an email code from the last few minutes.",
"staff_reauth": "Operator accounts confirm with a Passkey or by signing in again.",
"no_session": "This only works in a browser signed in to Felis.",
"op_login_invalid": "This operator sign-in couldn't be completed — restart the sign-in.",
"op_login_not_found": "No pending operator sign-in with that id.",
"too_many_streams": "Too many live streams are open — close some pages and try again.",
+16 -1
View File
@@ -88,5 +88,20 @@
"migration_redeem_placeholder": "转移码",
"migration_redeeming": "兑换中…",
"migration_redeem_btn": "兑换",
"migration_redeemed": "迁移完成——已有 {{count}} 台服务器转移至本账户。"
"migration_redeemed": "迁移完成——已有 {{count}} 台服务器转移至本账户。",
"reauth_title": "确认是你本人",
"reauth_desc": "添加或删除 Passkey、修改邮箱前,需要用你已有的登录方式再验证一次,验证后 5 分钟内有效。",
"reauth_checking": "正在查看可用的验证方式…",
"reauth_passkey_btn": "用 Passkey 验证",
"reauth_passkey_waiting": "等待 Passkey…",
"reauth_or": "或",
"reauth_email_btn": "发送验证码到 {{email}}",
"reauth_code_label": "验证码已发送到 {{email}}",
"reauth_confirm_btn": "确认",
"reauth_confirming": "确认中…",
"reauth_resend": "重新发送验证码",
"reauth_sign_in_desc": "管理员账户也可以退出后重新登录,重新登录后 5 分钟内视为已验证。",
"reauth_sign_in_btn": "退出并重新登录",
"reauth_done_continue": "已确认。点“继续”添加 Passkey。",
"email_change_desc": "输入新邮箱,我们会向新地址发送验证码。验证通过后登录验证码改发到新邮箱,旧邮箱会收到通知,其它设备会退出登录。"
}
@@ -78,6 +78,9 @@
"passkey_login_failed": "Passkey 验证失败——请重试。",
"passkey_login_invalid": "Passkey 登录请求无效或已过期——请重新发起。",
"too_many_challenges": "验证请求过于频繁——请稍后再试。",
"reauth_required": "请先确认是你本人:这项更改需要你在几分钟内用 Passkey 或邮箱验证码验证过。",
"staff_reauth": "管理员账户须用 Passkey 或重新登录来确认身份。",
"no_session": "只能在已登录 Felis 的浏览器中进行此操作。",
"op_login_invalid": "本次管理员登录未能完成——请重新发起登录。",
"op_login_not_found": "找不到该管理员登录请求。",
"too_many_streams": "同时打开的实时连接过多——请关闭一些页面后再试。",