• Hello,

    I’m having an issue with logging in after a user resets their password. Everything works great as far as receiving the password reset link in their email. Then they are directed to the form to enter the new password. After that it takes them to the login page with the url /my-account/?password-reset=true but after they login it always redirects them to the reset password form again and the url shows: /my-account/lost-password/?show-reset-form=true&action

    I’ve tried to redirect to home page by adding action ‘login_headerurl’ and the filter ‘login_redirect’. nothing seems to work. No matter what I do I am always being redirected to the reset password form again.

    Any ideas on what else can be done here?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    WordPress uses cookies for login authentication, so the first step in troubleshooting WordPress login issues is the simplest one. Clear your browser cookies and cache.

    Thread Starter Matteo Cirami

    (@mcirami)

    I’ve done this many, many times. Tried different browsers, cleared server cache, browser cache and used private mode.

    Moderator t-p

    (@t-p)

    Check your wp-config.php for any line that shouldn’t be there.
    For example: define(‘COOKIE_DOMAIN’, ‘www.example.com’);
    try removing it.

    Thread Starter Matteo Cirami

    (@mcirami)

    Not seeing anything shouldn’t be there or references cookies at all.

    Moderator t-p

    (@t-p)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Logging in after password reset.’ is closed to new replies.