Forgot Password?

Enter your mobile number and we'll send an OTP to reset your password.

๐Ÿ‡ฎ๐Ÿ‡ณ +91
Remember your password? Login โ†’
function togglePwd(id, btn) { const el = document.getElementById(id); const isText = el.type === 'text'; el.type = isText ? 'password' : 'text'; btn.innerHTML = isText ? '' : ''; } /* Step 1 โ†’ Step 2 */ document.getElementById('otp-request-form').addEventListener('submit', function(e) { e.preventDefault(); const mobile = document.getElementById('forgot-mobile').value.trim(); if (!/^[0-9]{10}$/.test(mobile)) return; document.getElementById('step-1').hidden = true; document.getElementById('step-2').hidden = false; document.getElementById('mobile-display').textContent = '+91 XXXXXX' + mobile.slice(-4); startResendTimer(); document.getElementById('otp-1').focus(); }); /* OTP digit auto-advance */ document.querySelectorAll('.otp-digit').forEach((input, idx, all) => { input.addEventListener('input', () => { input.style.borderColor = input.value ? 'var(--c-primary)' : ''; if (input.value && idx < all.length - 1) all[idx + 1].focus(); }); input.addEventListener('keydown', e => { if (e.key === 'Backspace' && !input.value && idx > 0) all[idx - 1].focus(); }); input.addEventListener('paste', e => { const data = e.clipboardData.getData('text').replace(/\D/g, '').slice(0, 6); all.forEach((el, i) => { if (data[i]) el.value = data[i]; }); all[Math.min(data.length, all.length - 1)].focus(); e.preventDefault(); }); }); /* Resend countdown */ let resendInterval; function startResendTimer(secs = 60) { const btn = document.getElementById('resend-btn'); const timer = document.getElementById('resend-timer'); btn.disabled = true; let remaining = secs; clearInterval(resendInterval); resendInterval = setInterval(() => { remaining--; timer.textContent = remaining; if (remaining <= 0) { clearInterval(resendInterval); btn.disabled = false; btn.innerHTML = 'Resend OTP'; } }, 1000); } function resendOtp() { startResendTimer(); document.getElementById('resend-btn').innerHTML = 'Resend in 60s'; } /* Step 2 form submit */ document.getElementById('reset-form').addEventListener('submit', function(e) { e.preventDefault(); const pwd = document.getElementById('new-pwd').value; const confirm = document.getElementById('confirm-pwd').value; if (pwd !== confirm) { alert('Passwords do not match!'); return; } const btn = document.getElementById('reset-btn'); btn.disabled = true; btn.innerHTML = ' Resettingโ€ฆ'; setTimeout(() => { window.location.href = window.SITE_URL + '/login.php?reset=success'; }, 1500); });