Lostpassword Woocommerce
-
Hello Bonjour
J’ai un problème avec mon site woocommerce sur le formulaire mot de passe oublié. (lost-password). Le lien est bien envoyé sur la messagerie client du type https://monsite.com/wp-login.php?key=xxxx&login but the page returns to https://monsite.com/lost-password
I am unable to change this and get the possibility to enter a new password.
I use wordfence. No trace. WP fastest cache wp-login.php exclusion
I use UQ Block country. None blocking wp-admin.php Ajax
Using Store. No child theme.
I try to put some code in store functions.php such as
// Redirection pour utiliser la réinitialisation de mot de passe WordPress
add_action('init', 'override_woocommerce_lost_password');
function override_woocommerce_lost_password() {
remove_action('woocommerce_before_lost_password_form', 'woocommerce_output_all_notices', 10);
remove_action('woocommerce_account_lost-password_endpoint', 'woocommerce_lostpassword_endpoint', 10);
remove_filter('woocommerce_lost_password_url', 'woocommerce_lost_password_url');
add_filter('woocommerce_lost_password_url', function() {
return wp_lostpassword_url();
});
}with no luck after having empty wp fastest cache. Woocommerce latest version. WordPress password reinit works well.
Help !!
The topic ‘Lostpassword Woocommerce’ is closed to new replies.