Remove password mismatch error in Restrict Content Pro

Remove password mismatch error in Restrict Content Pro on child sites.

Snippet Type

Execute on Child Sites

Snippet

function ag_rcp_remove_password_mismatch( $posted ) {
	rcp_errors()->remove( 'password_mismatch' );
}

add_action( 'rcp_form_errors', 'ag_rcp_remove_password_mismatch' );