WordPress.org

Ready to get started?Download WordPress

Forums

Passworld hash issue after upgrade (2 posts)

  1. bcreighton
    Member
    Posted 5 years ago #

    I recently upgraded to 2.6.2 from a very early version (early 2s) and I had trouble logging in. It was redirecting back to the login page. None of the solutions posted in the forums worked and after some error checking, I discovered it was messing up on the wp_validate_auth_cookie function. Commenting out 522 and 523 fixed the issue.

    $key = wp_hash($username . '|' . $expiration, $scheme);
    $hash = hash_hmac('md5', $username . '|' . $expiration, $key);
    
    //if ( $hmac != $hash )
    //return false;

    Does anyone know why I would be getting a hash issue? Thanks.

  2. bcreighton
    Member
    Posted 5 years ago #

    Anyone? I'm thinking this is a security issue if I leave commented out.

    It's weird... because I have other WP installations on the same server that doesn't have this problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.