5 use Captcha::reCAPTCHA;
7 use vars qw( $captcha_pubkey );
8 require "$ENV{BFConfDir}/BuildFarmWeb.pl";
11 my $c = Captcha::reCAPTCHA->new;
13 my $captcha = $c->get_html($captcha_pubkey);
16 my $template = new Template({INCLUDE_PATH => '/home/community/pgbuildfarm/templates' });
18 print "Content-Type: text/html\n\n";
21 $template->process('register-form.tt',{captcha => $captcha});