mirror of
https://github.com/Rayzggz/server_torii.git
synced 2025-06-17 04:31:22 +08:00
fix: CAPTCHA HTML JS
This commit is contained in:
@ -64,14 +64,17 @@
|
||||
case "bad":
|
||||
alert("Bad CAPTCHA, please refresh the page and try again.\n"
|
||||
+ "您未能通过人机验证,请刷新页面后重试。");
|
||||
window.location.reload();
|
||||
break;
|
||||
case "timeout":
|
||||
alert("Verification timeout, 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"
|
||||
+ "发生了意料之外的错误,请刷新页面后重试。");
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -86,7 +89,7 @@
|
||||
+ "加载人机验证失败,请检查尝试更换网络环境后重试。";
|
||||
}
|
||||
}
|
||||
setTimeout(checkCaptchaRender, 5000); // 5秒后检查
|
||||
setTimeout(checkCaptchaRender, 5000);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
Reference in New Issue
Block a user