')},60000)}else{jQuery(formid+" .emailerror").addClass(divclass).show().html("").html(data.message);jQuery(".otpestatus").html("");if(typeof emailotpauthn_external_js_function==="function"){if(emailotpauthn_external_js_function.length==2)emailotpauthn_external_js_function(0,"");else emailotpauthn_external_js_function(0,"",data.rspnum,data.response)}if(jQuery(".otpestatus").html()==""){jQuery(".otpestatus").html(data.response)}console.log(data.response)}})});jQuery(document).on("click","#submitOtp",function(event){if(underprocess)return!1;else underprocess=!0;var formid="#emailotpauthn-form";event.preventDefault();jQuery("#emailotpauthnsubmitid").val("B"+emailotpauthnsubmitidrtval);var emailid=jQuery("#emailotpauthn-form #email").val();var email_otp=jQuery("#emailotpauthn-form #email_otp").val();var compare=/^[0-9]{6}$/g;if(email_otp==""||!compare.test(email_otp)){jQuery(".otperror").html(" Invalid OTP");underprocess=!1;return!1}else{jQuery(".otperror").html("")}var urlqueryString=window.location.search;urlqueryString=urlqueryString.replaceAll("?","").replaceAll("&","=").split("=");urlqueryString=urlqueryString.slice(-1)[0];if(urlqueryString.length>20&&urlqueryString.length<25)urlqueryString="&urlgets="+urlqueryString;else urlqueryString="";var form_data=jQuery(formid).serialize()+"&action=emailotpauthnaction&validateotp=1"+urlqueryString;jQuery(formid+" #submitotp #email_otp").val("");var post_url=srvrvls("admin_url");jQuery.ajax({url:post_url,type:"POST",data:form_data,cache:!1,processData:!1,}).done(function(response){underprocess=!1;emailotpauthnsubmitidrtval=emailotpauthnsubmitidrval();var data=JSON.parse(response);jQuery("#submitotpsec #email_otp").val("");jQuery(".eotpafni").val("");if(data.status){divclass="success text-success";jQuery(".otpestatus").html("");if(typeof emailotpauthn_external_js_function==="function"){var rspstts=data.rspnum;if(rspstts==12)rspstts=2;else if(rspstts==13)rspstts=3;else if(rspstts==21)rspstts=4;else rspstts=5;if(emailotpauthn_external_js_function.length==2)emailotpauthn_external_js_function(rspstts,emailid);else emailotpauthn_external_js_function(rspstts,emailid,data.rspnum,data.response)}if(jQuery(".otpestatus").html()==""){jQuery(".otpestatus").html(data.message)}var redirecturl=data.redirect;if(typeof redirecturl!=="undefined"){document.location.href=redirecturl}}else{jQuery(".otpestatus").html("");if(typeof emailotpauthn_external_js_function==="function"){if(emailotpauthn_external_js_function.length==2)emailotpauthn_external_js_function(0,"");else emailotpauthn_external_js_function(0,"",data.rspnum,data.response)}if(jQuery(".otpestatus").html()==""){jQuery(".otpestatus").html(data.message)}var redirecturl=data.redirect;if(typeof redirecturl!=="undefined"){document.location.href=redirecturl}}})});jQuery(document).on("click",".loginback",function(){underprocess=!1;var premail=srvrvls("logged_in_email");var isloggedin=srvrvls("is_logged_in");jQuery("#emailotpauthn-form #email").val("");jQuery("#submitotpsec #email_otp").val("");jQuery("#emailotpauthnsubmitid").val("");jQuery(".eotpafni").val("");jQuery(".emailerror").html("");jQuery(".otperror").html("");jQuery(".otpestatus").html("");jQuery("#sendotp").show();jQuery("#submitotpsec").hide();$("#emailotpauthn_header_verify").hide();$("#emailotpauthn_header_submit").show();jQuery("form div:contains('Pb:')").css("margin-top","0px");if(isloggedin==0){premail=window.localStorage.getItem("emailotpauthnemail"+myhostnem);if(premail==null)premail=""}jQuery("#email").val(premail)});jQuery(document).on("click","#rememberemail",function(event){if(!jQuery("#rememberemail").prop("checked")){window.localStorage.removeItem("emailotpauthnemail"+myhostnem);window.localStorage.removeItem("emailotpauthncheck"+myhostnem)}});jQuery(".emailotpauthn-popup a").click(function(e){if($("#emailotpauthn_content").is(":visible")){return!1}e.preventDefault();var targetelement=$(e.target).closest(".emailotpauthn-popup");var emailotpauthn_action=targetelement.data("emerge_action");var emailotpauthn_elemnt=(typeof emailotpauthn_action==="undefined")?targetelement.children("a"):targetelement;var emlotp_data=emailotpauthn_elemnt.data();var header_submit=(typeof emlotp_data.header_submit==="undefined")?"":$.trim(emlotp_data.header_submit);var header_verify=(typeof emlotp_data.header_verify==="undefined")?"":$.trim(emlotp_data.header_verify);var button_submit=(typeof emlotp_data.button_submit==="undefined")?"":$.trim(emlotp_data.button_submit);var button_verify=(typeof emlotp_data.button_verify==="undefined")?"":$.trim(emlotp_data.button_verify);var emlotp_action=(typeof emlotp_data.emerge_action==="undefined")?"":$.trim(emlotp_data.emerge_action);header_submit=(header_submit=="")?"OTP Verification":header_submit.substring(0,30);header_verify=(header_verify=="")?"OTP Verification":header_verify.substring(0,30);button_submit=(button_submit=="")?"Send OTP":button_submit.substring(0,15);button_verify=(button_verify=="")?"Verify OTP":button_verify.substring(0,15);emlotp_action=(emlotp_action=="")?"":emlotp_action.toLowerCase();var isshowterm=srvrvls("rgstrshowterms");if(emlotp_action==""){$("#showrgstrtermsdiv").hide()}else{if(isshowterm==1&&(emlotp_action=="register"||emlotp_action=="combine"))$("#showrgstrtermsdiv").show();else $("#showrgstrtermsdiv").hide()}if($("#emailotpauthn_header_submit").hasClass("this_code_is_important")==!1){$("#emailotpauthn_header_submit").text(header_submit);$("#emailotpauthn_header_verify").text(header_verify);$("#generateOtp").val(button_submit);$("#submitOtp").val(button_verify)}$("#emailotpauthn_action").val(emlotp_action);jQuery("#emailotpauthn-form #email").val("");jQuery("#submitotpsec #email_otp").val("");jQuery("#emailotpauthnsubmitid").val("");jQuery("form div:contains('Pb:')").css("margin-top","0px");jQuery(".eotpafni").val("");jQuery(".emailerror").html("");jQuery(".otperror").html("");jQuery(".otpestatus").html("");var content=$("#emailotpauthn_contact").html();var emailotpauthn_lightbox_content="
";var defemailadr=window.localStorage.getItem("emailotpauthnemail"+myhostnem);var defcheckbox=window.localStorage.getItem("emailotpauthncheck"+myhostnem);if(defemailadr==null)defemailadr="";if(defcheckbox==null)defcheckbox="";if(emailotpauthn_lightbox_content.includes('type="password"'))emailotpauthn_lightbox_content=emailotpauthn_lightbox_content.replace('id="rememberemaildiv"','id="rememberemaildiv" style="display:none!important;"');emailotpauthn_lightbox_content=emailotpauthn_lightbox_content.replace('id="email" value=""','id="email" value="'+defemailadr+'"');emailotpauthn_lightbox_content=emailotpauthn_lightbox_content.replace('id="rememberemail"','id="rememberemail" '+defcheckbox);jQuery("#emailotpauthnlightbox").append(emailotpauthn_lightbox_content).hide().fadeIn(100);if(typeof emailotpauthn_separat_box==="function"){emailotpauthn_separat_box()}})})
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Read Manual
Watch Video
Watch Video
Watch Video
Watch Video
Read Manual
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Watch Video
Read Manual
Watch Video
Watch Video
Watch Video
Read Manual
Read Manual
Read Manual
Read Manual
Read Manual
Read Manual
Read Manual
Read Manual
By continuing to browse this site, you agree to our
use of cookies.
0