If you guys want to have this effect, just go into the login.js file and change the following from:
$( document ).on('submit', '#ajax-login-register-login-dialog form, #login_form', function( event ){
event.preventDefault();
$.ajax({
data: "action=login_submit&" + $(this).serialize(),
success: function( msg ){
if ( msg == 0 ){
$('#ajax-login-register-login-dialog').dialog('close');
} else {
window.location.replace( _ajax_login_settings.redirect );
}
}
});
});
Replace the code above with the following:
$( document ).on('submit', '#ajax-login-register-login-dialog form, #login_form', function( event ){
event.preventDefault();
$(document).find('.ajax-login-register-status-container').slideUp().remove();
$.ajax({
data: "action=login_submit&" + $(this).serialize(),
success: function( msg ){
if ( msg == 0 ){
//$('#ajax-login-register-login-dialog').dialog('close');
$('#ajax-login-register-login-dialog .form-wrapper').prepend('<div class="ajax-login-register-status-container"> \
<div class="ajax-login-register-msg-target error" style="display: block;"><div class="error-container">User not found</div></div> \
</div>');
} else {
window.location.replace( _ajax_login_settings.redirect );
}
}
});
});
Make sure you don’t update the plugin or this code will get overwritten.