👤 Customer Login

Sign in to access your dashboard and downloads.

Forgot Password?
btn.disabled = true; btn.textContent = '⏳ Sending...'; fetch('https://plugins.gyanalo.com/wp-admin/admin-ajax.php', { method: 'POST', headers:{'Content-Type':'application/x-www-form-urlencoded'}, body: new URLSearchParams({ action:'gapm_send_login_otp', login_id:loginId, nonce:'a662fd72de' }) }).then(r=>r.json()).then(data => { if (data.success) { document.getElementById('dash-otp-section').style.display = 'block'; document.getElementById('dash_otp_msg').textContent = data.data?.message || 'Code পাঠানো হয়েছে।'; let countdown = 60; const timer = setInterval(() => { countdown--; btn.textContent = `⏳ Resend (${countdown}s)`; if (countdown <= 0) { clearInterval(timer); btn.disabled = false; btn.textContent = '📨 Resend Code'; } }, 1000); } else { btn.disabled = false; btn.textContent = '📨 Send Verification Code'; alert(data.data || 'Account পাওয়া যায়নি।'); } }).catch(() => { btn.disabled = false; btn.textContent = '📨 Send Verification Code'; }); } function gapmDashVerifyOTP() { const code = document.getElementById('dash_otp_input').value.trim(); if (code.length !== 6) { alert('6-digit code দিন।'); return; } const btn = document.getElementById('dash_verify_btn'); btn.disabled = true; btn.textContent = '⏳ Verifying...'; fetch('https://plugins.gyanalo.com/wp-admin/admin-ajax.php', { method: 'POST', headers:{'Content-Type':'application/x-www-form-urlencoded'}, body: new URLSearchParams({ action:'gapm_verify_otp_both', code:code, nonce:'dded11647a' }) }).then(r=>r.json()).then(data => { if (data.success) { document.getElementById('dash_login_otp_hidden').value = code; document.getElementById('dash_otp_input').style.borderColor = '#198754'; document.getElementById('dash_otp_msg').style.color = '#198754'; document.getElementById('dash_otp_msg').textContent = '✅ Verified! এখন Login করুন।'; document.getElementById('dash_submit_btn').style.display = 'block'; document.getElementById('dash_send_btn').style.display = 'none'; btn.style.display = 'none'; } else { document.getElementById('dash_otp_input').style.borderColor = '#e74c3c'; document.getElementById('dash_otp_msg').style.color = '#e74c3c'; document.getElementById('dash_otp_msg').textContent = '❌ Code সঠিক না।'; btn.disabled = false; btn.textContent = '✅ Verify'; } }).catch(() => { btn.disabled = false; btn.textContent = '✅ Verify'; }); }