Loading core/js/custom-login.js +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ document.addEventListener('DOMContentLoaded', function() { }) // NEW: redirect ONLY when .login-form__link is clicked document.addEventListener('click', function(event) { if (event.target.classList.contains('login-form__link')) { if (event.target.closest('.login-form__link')) { window.location.href = '/'; } // Look for the Back button only inside the passwordless login container Loading Loading
core/js/custom-login.js +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ document.addEventListener('DOMContentLoaded', function() { }) // NEW: redirect ONLY when .login-form__link is clicked document.addEventListener('click', function(event) { if (event.target.classList.contains('login-form__link')) { if (event.target.closest('.login-form__link')) { window.location.href = '/'; } // Look for the Back button only inside the passwordless login container Loading