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

@ -396,6 +396,7 @@ sub log {
# this returns an empty string.
sub build_password_policy {
my $self = shift;
my $template = shift;
# Anonymous user can have no policy
return '' if($self -> {"session"} -> anonymous_session());