Kwf.onJElementShow('.kwcUserLoginFormSuccess', function(el) {
    var url = el.find('input.redirectTo').val();
    location.href = url;
});
Kwf.onJElementShow('.kwcUserLoginFormSuccess', function(el) {
    var url = el.find('input.redirectTo').val();
    if (!url) url = location.href;
    location.href = url;
});
Allow reloading same page after user login
Allow reloading same page after user login
