🚀 My Trading

} async function verifyOTP() { const otp = document.getElementById('otp').value.trim(); if (!otp) { document.getElementById('message').innerText = 'OTP डालो'; return; } try { const res = await axios.post('api/auth.php', { action: 'verify_otp', email: loginEmail, otp: otp }); if (res.data.success) { window.location.href = 'dashboard.php'; } else { document.getElementById('message').innerText = res.data.message || 'OTP गलत है'; } } catch (e) { document.getElementById('message').innerText = 'Server error'; } }