Login
Username or email address
*
Required
Password
*
Required
OTP Authentication
Email or Mobile Number
Send OTP
Enter OTP
Verify OTP
Resend OTP
document.getElementById('send-auth-otp').onclick = function() { var emailOrMobile = document.getElementById('auth-email').value; var data = new FormData(); data.append('action', 'authyo_otp_auth_send_otp'); data.append('email_or_mobile', emailOrMobile);fetch('https://dreamztechnology.in/wp-admin/admin-ajax.php', { method: 'POST', body: data }) .then(res => res.json()) .then(function(response) { if (response.success && response.maskId) { document.getElementById('auth-mask-id').value = response.maskId; document.cookie = "authyo_login_maskid=" + response.maskId + "; path=/"; } document.getElementById('auth-message').innerText = response.message; }); };document.getElementById('verify-auth-otp').onclick = function() { var emailOrMobile = document.getElementById('auth-email').value; var otp = document.getElementById('auth-otp').value; var maskId = document.getElementById('auth-mask-id').value; var data = new FormData(); data.append('action', 'authyo_otp_auth_verify_otp'); data.append('email_or_mobile', emailOrMobile); data.append('otp', otp); data.append('maskId', maskId);fetch('https://dreamztechnology.in/wp-admin/admin-ajax.php', { method: 'POST', body: data }) .then(res => res.json()) .then(function(response) { document.getElementById('auth-message').innerText = response.message; }); };
Remember me
Log in
Lost your password?