Hello,
The branded login has a filter to force login with only email addresses. I would like to know if that filter would conflict with this plugin or will you also add support for this plugin https://wordpress.org/plugins/force-login-with-email/
Thanks
Hi Tosin,
Thank you for the question.I have tested it now. These two plugins are working well together. There is no need for any change or update.
Regards
BrtajeshThanks for the feedback, for further clarification
Do you mean that plugin will not conflict with this filter
/** * Email login support for bp-branded-login plugin */ add_filter( 'wp_authenticate_user', function( $user ) { if ( isset( $_POST['log'] ) && ! is_email( trim( $_POST['log'] ) ) ) { return new WP_Error( 'invalid_email', __( 'Please provide a valid email' ) ); } return $user; }, 10 );
Thanks
Hi Tosin,
I do not see any issue with it. Also, if you are using the force email plugin, you do not need the above code.Regards
Brajesh
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
This topic is: not resolved