We have specific js for you already
your form button should have id="autologin"
Javascript:
function submit2() { document.submitForm2.submit2(); // Submits the form without the button } setTimeout(function submit2(){ document.getElementById("autologin").click() }, 0000);
make sure login url config. Redirect to any page else archieved denied