From da8dfbbd74e6a23248bfc46ce539aae7839449cd Mon Sep 17 00:00:00 2001 From: revoxhere <50244265+revoxhere@users.noreply.github.com> Date: Sun, 24 Mar 2024 10:50:24 +0100 Subject: [PATCH] Update main.js --- 2023/js/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/2023/js/main.js b/2023/js/main.js index d1d0174..fbbca0d 100644 --- a/2023/js/main.js +++ b/2023/js/main.js @@ -564,6 +564,9 @@ function login(token) { } else if (data.message.includes("captcha")) { alert_bulma("Incorrect captcha. Refresh and try again, if the issue persists make sure nothing blocks ReCaptcha"); return; + } else if (data.message.includes("IP")) { + alert_bulma("Your IP address is considered malicious. If you're not doing anything wrong, change your network (e.g. to Wi-Fi or mobile data) or restart your router"); + return; } else if (data.message.includes("banned")) { document.getElementsByTagName('html')[0].remove(); return;