summaryrefslogtreecommitdiff
path: root/bin/pw.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pw.pl')
-rw-r--r--bin/pw.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/pw.pl b/bin/pw.pl
index 99020906..bfa96c84 100644
--- a/bin/pw.pl
+++ b/bin/pw.pl
@@ -50,14 +50,15 @@ sub getpassword {
$attr->{value} = $form->{$_};
push @{$form->{hidden}}, $attr;
}
- my $template = Template->new(
+ my $template = LedgerSMB::Template->new(
user => \%myconfig,
locale => $locale,
path => 'UI',
- template => 'get_password.html',
+ template => 'get_password',
format => 'HTML'
);
$template->render($form);
+ $template->output('http');
exit;
}