Forgot to pull the template name for build_password_policy()

This commit is contained in:
Chris 2013-02-13 17:34:43 +00:00
parent 3877fd3473
commit 43e9cede0c

View File

@ -395,7 +395,8 @@ sub log {
# user. If there is no policy in place, or the user is not logged in,
# this returns an empty string.
sub build_password_policy {
my $self = shift;
my $self = shift;
my $template = shift;
# Anonymous user can have no policy
return '' if($self -> {"session"} -> anonymous_session());