feat(panel): implement email otp and passkey login interface

This commit is contained in:
Lemon-miaow committed 2026-07-05 16:48:03 +08:00
1 parent 7becb38488
commit 9079a2cd67
13 files changed
+520 -116

No files matched your search

+17 -1
View File
@@ -1,12 +1,28 @@
{
"login_title": "Sign in to Felis",
"login_subtitle": "Operator console",
"username": "Username",
"username": "Username or Email",
"password": "Password",
"sign_in": "Sign in",
"signing_in": "Signing in…",
"tab_password": "Password",
"tab_bind": "Bind Code",
"tab_email": "Email OTP",
"other_login_methods": "Other sign-in options",
"or_divider": "or",
"tab_email_btn": "Sign in with Email OTP",
"tab_bind_btn": "Sign in with Bind Code",
"back_to_password": "Back to password login",
"email_address": "Email Address",
"email_placeholder": "Enter your registered email",
"otp_code": "Verification Code",
"otp_placeholder": "Enter 6-digit code",
"send_otp": "Send Code",
"sending_otp": "Sending…",
"otp_sent": "Verification code sent to your email.",
"otp_btn": "Verify & Sign In",
"resend_in": "s",
"passkey_btn": "Sign in with Passkey",
"bind_code": "Bind Code",
"bind_code_placeholder": "e.g., ABCD2345",
"bind_hint": "Type /login in-game to generate a one-time bind code.",
+3 -1
View File
@@ -25,5 +25,7 @@
"passkey_challenge_invalid": "Passkey challenge is invalid or expired, please try again.",
"invalid_attestation": "Could not verify this Passkey, please try again.",
"passkey_already_bound": "This Passkey is already bound to another account.",
"passkey_unavailable": "Passkey subsystem is not available right now."
"passkey_unavailable": "Passkey subsystem is not available right now.",
"passkey_not_allowed": "The operation was cancelled by the user or browser.",
"passkey_aborted": "Passkey registration was aborted."
}
+17 -1
View File
@@ -1,12 +1,28 @@
{
"login_title": "登录 Felis",
"login_subtitle": "运维控制台",
"username": "用户名",
"username": "用户名或邮箱",
"password": "密码",
"sign_in": "登录",
"signing_in": "登录中…",
"tab_password": "账号密码",
"tab_bind": "游戏绑定码",
"tab_email": "邮箱验证码",
"other_login_methods": "其他登录方式",
"or_divider": "或",
"tab_email_btn": "使用邮箱验证码登录",
"tab_bind_btn": "使用游戏绑定码登录",
"back_to_password": "返回密码登录",
"email_address": "邮箱地址",
"email_placeholder": "请输入绑定的邮箱",
"otp_code": "验证码",
"otp_placeholder": "请输入 6 位验证码",
"send_otp": "发送验证码",
"sending_otp": "发送中…",
"otp_sent": "验证码已发送至您的邮箱,请查收",
"otp_btn": "验证并登录",
"resend_in": "秒后重试",
"passkey_btn": "使用 Passkey 登录",
"bind_code": "绑定码",
"bind_code_placeholder": "例如:ABCD2345",
"bind_hint": "在游戏内输入 /login 即可获取一次性绑定码",
+3 -1
View File
@@ -25,5 +25,7 @@
"passkey_challenge_invalid": "验证挑战无效或已过期,请重试。",
"invalid_attestation": "无法验证此 Passkey,请重试。",
"passkey_already_bound": "此 Passkey 已被其他账户绑定。",
"passkey_unavailable": "Passkey 功能当前不可用。"
"passkey_unavailable": "Passkey 功能当前不可用。",
"passkey_not_allowed": "操作已被用户或浏览器取消。",
"passkey_aborted": "Passkey 注册已被取消。"
}