Unable to access Sitejet due to Custom Code error

Hi Sitejet Support,

I recently added a Custom Code script to my website (airsurvey.rs), but now I am unable to access the Sitejet editor due to a redirect issue. The login page keeps redirecting, preventing me from making any changes.

I was able to access my website through cPanel, but I need help resetting or removing the problematic script in Sitejet. Could you assist me in restoring access to my Sitejet editor?

Thank you for your help!

Best regards,
Vladan Andjelkovic

my adress is Login. Please in javascript is problem.
// Provera na strani sa mapom
function checkAccess() {
const loggedInUser = localStorage.getItem(‘loggedInUser’);
if (!loggedInUser) {
alert(‘Nemate pristup. Prijavite se ponovo.’);
window.location.href = ‘login.html’; // Preusmeri na login stranicu
}
}

// Funkcija za odjavu
function logout() {
localStorage.removeItem(‘loggedInUser’); // Briše prijavu
window.location.href = ‘login.html’;
}

// Pozovi checkAccess() na stranici sa mapom
checkAccess();
Please delete up code.