treebird/perl/login.pm
nekobit 4eb1389418 CSS tweaks and polishing
FossilOrigin-Name: 9d32ddd347cb36062c661df3775a4d7a775e82f9dde7eab9405782f38b876fbb
2022-10-13 17:55:59 +00:00

24 lines
347 B
Perl

package login;
use strict;
use warnings;
use Exporter 'import';
our @EXPORT = qw( content_login );
use l10n 'lang';
use template_helpers 'to_template';
sub content_login
{
my ($ssn, $data, $error) = @_;
my %vars = (
error => $error,
lang => \&lang,
);
to_template(\%vars, \$data->{'login.tt'});
}
1;