Custom Hash – Password Change
-
Hello, how can i change the password via wordpress using a custom hash. I have this on functions.php that handles my hash login:
function myExlogHashAuthenticator($password, $hashFromDatabase, $username, $externalUserData) { $generatedHash = sha1(strtoupper($username.":".$password)); return $hashFromDatabase == $generatedHash; } add_filter('exlog_hook_filter_authenticate_hash', 'myExlogHashAuthenticator', 10, 4);
If i change the password on the wordpress the password on my users external database didnt change. Is there something i can do?
- The topic ‘Custom Hash – Password Change’ is closed to new replies.