diff --git a/src/components/GlobalCaptcha.jsx b/src/components/GlobalCaptcha.jsx index 74bf6ba..71705e4 100644 --- a/src/components/GlobalCaptcha.jsx +++ b/src/components/GlobalCaptcha.jsx @@ -23,13 +23,16 @@ const GlobalCaptcha = ({ close }) => {
{ 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,