WordPress.org

Ready to get started?Download WordPress

Forums

WP 2.6.2 resets user_pass after correct login and then asks to log in again (3 posts)

  1. nniiccoo
    Member
    Posted 5 years ago #

    I have recently become unable to login as admin. The problem seems to be that a correct login resets the user_pass field in the wp_users table. For example, I can manually set the value to "5f4dcc3b5aa765d61d8327deb882cf99", which is the md5 hash of "password" by using an UPDATE query (and verify with select). I can go to the wp-login.php screen and enter the username admin and password "something". I will be greeted with two "ERROR: Invalid password" messages and will be asked to login again. If I supply the correct password "password", I will be asked to log in again without any errors or warnings and, however, a SQL query will show that the user_pass for admin is now set to "$P$BOmBjkppZTzvS13ER4GIbBrrW.e22P1". I have tried upgrading to 2.6.2 (even though the readme.html in wordpress-2.6.2.zip says it is 2.6.1) and have rebuilt the wp_users table from an older backup without any resolution. Please let me know if you have any pointers to resolve this. Thank you in advance.

  2. nniiccoo
    Member
    Posted 5 years ago #

    Ok, it seems that pluggable.php checks for MD5 hashes and replaces them with something more secure if it sees them, however, it still doesn't explain why I am constantly brought back to the wp-login.php page when I access wp-admin/, even after supplying my credentials. Thank you again.

  3. jbbrwcky
    Member
    Posted 5 years ago #

    Tried purging your cookies?

Topic Closed

This topic has been closed to new replies.

About this Topic