diff --git a/lib/WebGUI/Auth/WebGUI.pm b/lib/WebGUI/Auth/WebGUI.pm index 473bac72d..8415529c1 100644 --- a/lib/WebGUI/Auth/WebGUI.pm +++ b/lib/WebGUI/Auth/WebGUI.pm @@ -173,7 +173,7 @@ sub createAccount { if ($vars->{useCaptcha}) { use WebGUI::Form::Captcha; my $captcha = WebGUI::Form::Captcha->new($self->session,{"name"=>"authWebGUI.captcha"}); - $vars->{'create.form.captcha'} = ''.$captcha->get('subtext').''; + $vars->{'create.form.captcha'} = $captcha->toHtml.''.$captcha->get('subtext').''; $vars->{'create.form.captcha.label'} = $i18n->get("captcha label","AuthWebGUI"); } $vars->{'create.form.username'} = WebGUI::Form::text($self->session,{"name"=>"authWebGUI.username","value"=>$self->session->form->process("authWebGUI.username")});