I am writing a little page that will allow my wp-users to quicly update their user account email or password. For the email update, everything works fine using the wp_update_user function.
When I update the password, the password gets updated in the database, but after the update, I am redirected to the login page.
I need to block the "trigger" that redirect my to the login page. Any ideas?