"+res.message+"
");
$('#loginform-submit').html(llbl).removeAttr('disabled');
} else {
await WPDM.doAction("wpdm_user_login", res);
$('#loginform-submit').html(" "+res.message);
$('#loginform-submit').html(WPDM.html("i", "", "fa fa-sun fa-spider") + " " + res.message);
setTimeout(function () {
location.href = "/purchases/";
}, 1000);
location.href = "/purchases/";
}
}
});
return false;
});
$('body').on('click', 'form .alert-danger', function(){
$(this).slideUp();
});
});
Purchases
");
$('#loginform-submit').html(llbl).removeAttr('disabled');
},
success: async function (res) {
WPDM.unblockUI('#loginform');
if (!res.success) {
$('form .alert-danger').hide();
$('#loginform').prepend("