mirror of
https://github.com/beilunyang/moemail.git
synced 2026-09-09 09:16:37 +08:00
feat(turnstile): integrate Cloudflare Turnstile for enhanced security in login and registration processes
This commit is contained in:
@@ -36,8 +36,11 @@
|
||||
"loginFailedDesc": "用户名或密码错误",
|
||||
"registerFailed": "注册失败",
|
||||
"registerFailedDesc": "请稍后重试",
|
||||
"autoLoginFailed": "自动登录失败,请手动登录"
|
||||
"autoLoginFailed": "自动登录失败,请手动登录",
|
||||
"turnstileRequired": "请先完成人机验证",
|
||||
"turnstileRequiredDesc": "请完成下方的 Turnstile 验证后再尝试",
|
||||
"registerSuccess": "注册成功",
|
||||
"registerSuccessDesc": "请切换到登录选项卡,通过验证后登录账号"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
"title": "权限不足",
|
||||
"description": "你没有权限访问此页面,请联系网站管理员",
|
||||
"adminContact": "管理员联系方式",
|
||||
"backToHome": "返回首页"
|
||||
"backToHome": "返回首页",
|
||||
"needPermission": "需要公爵或更高权限才能管理 API Key",
|
||||
"contactAdmin": "请联系网站管理员升级您的角色"
|
||||
},
|
||||
"layout": {
|
||||
"myEmails": "我的邮箱",
|
||||
@@ -165,4 +167,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -107,6 +107,15 @@
|
||||
"adminContact": "管理员联系方式",
|
||||
"adminContactPlaceholder": "邮箱或其他联系方式",
|
||||
"maxEmails": "每个用户最大邮箱数",
|
||||
"turnstile": {
|
||||
"enable": "启用 Cloudflare Turnstile",
|
||||
"enableDescription": "开启后,账号登录与注册将需要通过 Turnstile 验证",
|
||||
"siteKey": "Site Key",
|
||||
"siteKeyPlaceholder": "输入 Turnstile Site Key",
|
||||
"secretKey": "Secret Key",
|
||||
"secretKeyPlaceholder": "输入 Turnstile Secret Key",
|
||||
"secretKeyDescription": "开启前请先在 Cloudflare 创建 Turnstile,并填写上述必填参数"
|
||||
},
|
||||
"save": "保存配置",
|
||||
"saving": "保存中...",
|
||||
"saveSuccess": "配置保存成功",
|
||||
@@ -128,4 +137,3 @@
|
||||
"updateFailed": "更新用户角色失败"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user