Create Account

Join Domain Monitor today

Letters, numbers, and underscores only

Minimum 8 characters

Already have an account? Sign In

function togglePassword(fieldId) { const passwordInput = document.getElementById(fieldId); const toggleIcon = document.getElementById('toggleIcon-' + fieldId); if (passwordInput.type === 'password') { passwordInput.type = 'text'; toggleIcon.classList.remove('fa-eye'); toggleIcon.classList.add('fa-eye-slash'); } else { passwordInput.type = 'password'; toggleIcon.classList.remove('fa-eye-slash'); toggleIcon.classList.add('fa-eye'); } } // Client-side password match validation document.querySelector('form').addEventListener('submit', function(e) { const password = document.getElementById('password').value; const passwordConfirm = document.getElementById('password_confirm').value; if (password !== passwordConfirm) { e.preventDefault(); alert('Passwords do not match!'); } }); SCRIPT; require __DIR__ . '/base-auth.php'; ?>