Password Reset Fails
-
This may be related to the issue “Reset password form wont submit”.
I was getting an error while resetting a password, and traced it to line 440 in somfrp-functions.php.
The do_action(“validate_password_reset”) method requires BOTH a new WP_Error() object and the $user object. Without these, the method may fail. The mehtod header for the call that you have conveniently included in your code clearly indicates this. I don’t know if it fails in all cases, however with Wordfence installed it definitely fails.
I’ve updated my copy of your plugin on line 440 as follows, and it works correctly now:
do_action(“validate_password_reset”, new WP_Error(), $user);
you may want to test this for yourself and release an update for your great plugin.
The topic ‘Password Reset Fails’ is closed to new replies.