mirror of
https://github.com/beilunyang/moemail.git
synced 2026-09-07 00:06:44 +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": "Incorrect username or password",
|
||||
"registerFailed": "Registration Failed",
|
||||
"registerFailedDesc": "Please try again later",
|
||||
"autoLoginFailed": "Auto-login failed, please login manually"
|
||||
"autoLoginFailed": "Auto-login failed, please login manually",
|
||||
"turnstileRequired": "Please complete the verification",
|
||||
"turnstileRequiredDesc": "Solve the Turnstile challenge below before continuing",
|
||||
"registerSuccess": "Registration Successful",
|
||||
"registerSuccessDesc": "Switch to the login tab and complete verification to sign in"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
"title": "Insufficient Permission",
|
||||
"description": "You don't have permission to access this page. Please contact the website administrator.",
|
||||
"adminContact": "Admin Contact",
|
||||
"backToHome": "Back to Home"
|
||||
"backToHome": "Back to Home",
|
||||
"needPermission": "需要公爵或更高权限才能管理 API Key",
|
||||
"contactAdmin": "请联系网站管理员升级您的角色"
|
||||
},
|
||||
"layout": {
|
||||
"myEmails": "My Emails",
|
||||
@@ -165,4 +167,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -107,6 +107,15 @@
|
||||
"adminContact": "Admin Contact",
|
||||
"adminContactPlaceholder": "Email or other contact method",
|
||||
"maxEmails": "Max Emails per User",
|
||||
"turnstile": {
|
||||
"enable": "Enable Cloudflare Turnstile",
|
||||
"enableDescription": "When enabled, username/password login and registration require Turnstile verification",
|
||||
"siteKey": "Site Key",
|
||||
"siteKeyPlaceholder": "Enter Turnstile Site Key",
|
||||
"secretKey": "Secret Key",
|
||||
"secretKeyPlaceholder": "Enter Turnstile Secret Key",
|
||||
"secretKeyDescription": "Set up a Turnstile application in Cloudflare and provide the required keys before enabling"
|
||||
},
|
||||
"save": "Save Configuration",
|
||||
"saving": "Saving...",
|
||||
"saveSuccess": "Configuration saved successfully",
|
||||
@@ -128,4 +137,3 @@
|
||||
"updateFailed": "Failed to update user role"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user