Hey @soulwaretech,
We’ve been looking into this issue this week, but unfortunately, there isn’t a clean workaround for it. Wordfence’s reCAPTCHA system is relatively closed and we couldn’t find a way to extend it to SliceWP. We’ll be looking into it more.
Until we have a proper solution, the only thing I can recommend is that you add this code to your website:
function slicewp_custom_wordfence_ls_require_captcha( $required ) {
if ( empty( $_POST['slicewp_token'] ) )
return $required;
if ( ! wp_verify_nonce( $_POST['slicewp_token'], 'slicewp_login_affiliate' ) )
return $required;
return false;
}
add_filter( 'wordfence_ls_require_captcha', 'slicewp_custom_wordfence_ls_require_captcha' );
You can add custom code to your website using the Code Snippets plugin (https://www.ads-software.com/plugins/code-snippets/).
The code disables Wordfence’s reCAPTCHA verification on the SliceWP login form (only on SliceWP’s login form).
Because Wordfence’s verification won’t be made on our login form, your affiliates will be able to log into their account.
We will also be adding reCAPTCHA support to our own login forms natively, the same as we do with the affiliate registration form. In the next SliceWP plugin update, if you have reCAPTCHA enabled in SliceWP, the reCAPTCHA widget will be added to the login form as well. Currently it works only for the affiliate registration form.
With both the above custom code and the reCAPTCHA option from SliceWP, you will be protected and your affiliates will be able to log in without seeing any errors.
Thank you and best wishes,
Mihai