Forum Replies Created
-
AuthorPosts
-
Clay W
ParticipantThe issue was resolved by updating the file “reset_password_using_link.php” with the following code snippet beginning on line 8 of the file.
Just note that if there is an update this plugin you will need to re-apply this change to the file again.
if ( is_wp_error( $is_valid_key ) ) {//added this line to prevent the error msg below from showing after a successful pwd reset (yet still show other potential errors further below)
if ( $_SERVER[‘REQUEST_METHOD’] == ‘POST’ && empty(get_transient(“swpm-passsword-reset-error”)) ) return;$error_message = __(“Error! The password reset key is invalid. Please generate a new request.”, “simple-membership”);
//echo $is_valid_key->get_error_message();
echo ‘<div class=”swpm-pw-reset-key-invalid-error swpm-red-error-text”>’;
echo $error_message;
echo ‘</div>’;
return;
}Clay W
ParticipantI was able to test further after updating from 4.2.6 to 4.2.9 but the issue is still persisting. Seems like whatever the checking function for a valid password reset isn’t working as intended still. Hopefully the team can track this issue down better than I can. If I am able to resolve myself I’ll be sure to update.
-
AuthorPosts