diff --git a/cp/resources/views/auth/login.twig b/cp/resources/views/auth/login.twig index 240ee18..81f2d3f 100644 --- a/cp/resources/views/auth/login.twig +++ b/cp/resources/views/auth/login.twig @@ -62,6 +62,7 @@ document.addEventListener('DOMContentLoaded', function() { const loginButton = document.getElementById('loginWebAuthnButton'); const emailInput = document.querySelector('input[name="email"]'); + const passwordInput = document.querySelector('input[name="password"]'); loginButton.addEventListener('click', async function() { try {