I am using the litespeed cache plugin and ajax login plugin. The page does not refresh after users log in. it actually seems to be refreshing, but no. I can not.
// $form.data("action") for get
$(document).triggerHandler('lrm/ajax_response', [response, $form, $form.data("action")]);
// If user Logged in After Login or Registration
// If Email Verify after Registration enabled - we skip this
if (response.success && response.data.logged_in) {
LRM.is_user_logged_in = true;
$(document).triggerHandler('lrm_user_logged_in', [response, $form, $form.data("action")]);
if (LRM.reload_after_login) {
window.location.reload(true);
}
}
window.location.reload(true); this code not working.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745464308a4628849.html
评论列表(0条)