adjust banme

This commit is contained in:
HF 2022-09-22 23:54:39 +02:00
parent 89dcf00958
commit c1d5e437fc

View File

@ -23,13 +23,16 @@ const GlobalCaptcha = ({ close }) => {
<form
onSubmit={async (e) => {
e.preventDefault();
const text = e.target.captcha.value;
if (!text || text.length < 4) {
return;
}
// ----
const test = document.getElementById('void-bot');
if (!legit || test) {
await requestBanMe((legit) ? 1 : 2);
}
// ----
const text = e.target.captcha.value;
const captchaid = e.target.captchaid.value;
const { errors: resErrors } = await requestSolveCaptcha(
text,