Redirect to current page after registration using this short code [ms-membership-register-user]

What I'm looking for is if a user login in from a shortcode from a post, it shouldn't redirect them to the account page, but just rather refresh the current page.