feat: CAPTCHA SESSION

This commit is contained in:
Roi Feng
2025-03-08 23:09:06 -05:00
parent 1a8d40bc82
commit a1f15f37c6
6 changed files with 62 additions and 4 deletions

View File

@ -66,6 +66,11 @@
+ "您未能通过人机验证,请刷新页面后重试。");
window.location.reload();
break;
case "badSession":
alert("Session invalid, please refresh the page and try again.\n"
+ "会话无效,请刷新页面后重试。");
window.location.reload();
break;
default:
alert("Unexpected error occurred, please refresh the page and try again.\n"
+ "发生了意料之外的错误,请刷新页面后重试。");

View File

@ -1,3 +1,4 @@
secret_key: "0378b0f84c4310279918d71a5647ba5d"
captcha_validate_time: 600
captcha_challenge_session_timeout: 120
hcaptcha_secret: ""