• Hi jeff,

    I have problem password reset not working.

    when i enter a new password it redirects me to the lostpassword form and in the URL it says lostpassword?error=invalidkey
    and i receive error message

    Sorry, that key does not appear to be valid

    i have take a look on resetpass-form.php

    <input type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Reset Password', 'theme-my-login' ); ?>" />
    
    <input type="hidden" id="user_login" value="<?php echo esc_attr( $GLOBALS['rp_login'] ); ?>" autocomplete="off" />
    
    <input type="hidden" name="rp_key" value="<?php echo esc_attr( $GLOBALS['rp_key'] ); ?>" />
    
    <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
    
    <input type="hidden" name="action" value="resetpass" />

    and it was correct same with your diff, but still got this problem.

    i already send you Account Credential for testing.
    Wordpress Version: 4.2.2
    TML Version: 6.3.12

    Email from [ email redacted ]

    Thank You

    https://www.ads-software.com/plugins/theme-my-login/

Viewing 15 replies - 1 through 15 (of 92 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    Can you resend the credentials?

    I had the same issue (password link is sent + received; but when the new password is entered and the form submitted, the result is always “Sorry, that key does not appear to be valid.”).

    I’m not over-riding the resetpass-form.php template. I was over-riding lostpassword-form.php, but only to change the wording. I turned that off, and no change.

    I tried about a zillion times. I changed my salts in wp-config.php. I used a private browser in case cookies were involved.

    Eventually, on my final attempt (not in a private browser), it worked. I have no idea why…

    I’m having the same issue since the update.

    WordPress Version: 4.2.2
    TML Version: 6.3.12

    I can send credentials, which address should I use?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Have you checked this?

    Thread Starter Harris Marfel

    (@hrace009)

    Hi Jeff,

    I am really sorry late to respond.
    I have resend the credential to your email.

    Thank You

    I did check that commit, and those changes are in my local copy. However the cookie doesn’t appear to be set and the users are all given the “Invalid Key” error.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Send credentials to jeff [at] jfarthing [dot] com.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    @harris Marfel Do you have caching enabled on your site? Because the hidden fields are empty…

    Thread Starter Harris Marfel

    (@hrace009)

    Hi jeff,

    No, i don’t use any caching, at wp-config.php
    define( ‘WP_CACHE’, false );

    does it relate with cloudflare thing?

    Thanks, I’ve added you as a user. I can be reached at sean [at] torchcodelab [dot] com.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Cloudflare is caching – yes. You’ll need to see how to clear/refresh it.

    Thread Starter Harris Marfel

    (@hrace009)

    Hi jeff,
    I have clear / purge cloudflare caching.
    it will take effect 30 seconds from now.

    Thank for the information.

    Thread Starter Harris Marfel

    (@hrace009)

    I have clear / purge cloudflare caching, but still got message
    Sorry, that key does not appear to be valid.
    and at URL i have like this
    lostpassword/?error=invalidkey

    After several users successfully reset, I am back to have the problem again. No CloudFlare. No custom template. Nothing on the site has changed.

    Plugin Author Jeff Farthing

    (@jfarthing84)

    How many of you have Nginx as your web server?

Viewing 15 replies - 1 through 15 (of 92 total)
  • The topic ‘Password Reset Form Not Working Part 2’ is closed to new replies.