When I go to localhost:PORT/ADMIN.php, I am brought to the login page to sign in as an administrator. As soon as this page loads, it displays “ERROR: The username field is empty. ERROR: The password field is empty.” before I’ve even clicked the Log In button. It also shakes the form. It behaves the same way when I refresh the page.
Is there a way to prevent the form from automatically submitting on first load?