Link in WC Reset Password Email Leads to Wrong Form
-
Hello,
I’m using Woocommerce with Woocommerce Supscriptions, Groups, Woocommerce MailChimp, Gropus, and Groups Woocommerce. Mysite is foodcoach.me; Currently, when a customer who has forgotten his password attempts to reset from the /account/lost-password/ that user does indeed receive an email, however the link in that email takes the user back to /account/lost-password/, to the same form he started the process at and where he is prompted to re-enter his email address for password reset and whole sequence starts over.
As best I can tell the code that creates the link in the email is correct:
<a class="link" href="<?php echo esc_url( add_query_arg( array( 'key' => $reset_key, 'login' => rawurlencode( $user_login ) ), wc_get_endpoint_url( 'lost-password', '', wc_get_page_permalink( 'myaccount' ) ) ) ); ?>"> <?php _e( 'Click here to reset your password', 'woocommerce' ); ?></a>
Any idea what could be going wrong here? I’m running WC 2.6.2 on WP 4.5.3, using PHP 5.6.23 (only recently upgrade the PHP version, hasn’t made a difference though). I’ve tried turning off all other plugins and changing the theme with no luck.
Regards,
Kevin
- The topic ‘Link in WC Reset Password Email Leads to Wrong Form’ is closed to new replies.