• I’ve been having an issue with the change password option in the account page. When attempting to change the password, it would return me to the login page without the password actually changing. (Sometimes I would also receive the email confirming the change, although it hasn’t happened).

    I tried deactivating a few plugins, and found that the conflict is with the plugin PHP Native Password Hash. Once I deactivated that plugin the password change worked, however of course the password is hashed in the normal WordPress way rather than using the native hashing with PHP.

    WP Version: 5.9.1
    Ultimate Member: 2.3.1
    PHP Version: 8.0.16

    PHP Native Password Hash plugin hasn’t updated for a while, however according to a support request that plugin is still supported (https://www.ads-software.com/support/topic/is-this-plugin-still-supported-122/)

    I would really like for the change password option to work with native hashing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @mojorob

    We haven’t tested it with Native Password Hash but you can ask the developer if they modify the hash with the filter hook of this function wp_set_password. UM uses that function to set the password entered in the Change password form of the Account page.

    Thread Starter mojorob

    (@mojorob)

    I’ve opened a support thread on that plugin. However, quickly checking the source code for that plugin, yes it does look like they use wp_set_password in the following function:

    function wp_set_password( $password, $user_id ) {
    		$hasher = wp_password_hash_include();
    		return $hasher->updateHash( $password, $user_id );
    	}
    Thread Starter mojorob

    (@mojorob)

    Any further input into this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Password Not Working’ is closed to new replies.