Skip to content

Commit

Permalink
Do not display rules for the blackhole source
Browse files Browse the repository at this point in the history
Fixes #1200
  • Loading branch information
jrouzierinverse committed Feb 15, 2016
1 parent e239515 commit b23f5ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/pf/Authentication/Source/BlackholeSource.pm
@@ -1,4 +1,5 @@
package pf::Authentication::Source::BlackholeSource;

=head1 NAME
pf::Authentication::Source::BlackholeSource add documentation
Expand Down Expand Up @@ -96,6 +97,14 @@ sub authenticate {
return ($FALSE, 'Not allowed');
}

=head2 has_authentication_rules
Whether or not the source should have authentication rules
=cut

sub has_authentication_rules { $FALSE }

=head1 AUTHOR
Inverse inc. <info@inverse.ca>
Expand Down Expand Up @@ -124,4 +133,3 @@ USA.
=cut

1;

0 comments on commit b23f5ce

Please sign in to comment.