Commit 995184b2 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Throw warning msg if History disabled (#1506)

parent e56b99dc
......@@ -15,9 +15,9 @@ use constant afterData => 'run';
sub init {
my ($self) = @_;
unless ( $self->conf->{loginHistoryEnabled} ) {
$self->logger->error(
$self->logger->warn(
'"History" plugin is required for "BruteForceProtection" plugin');
return 0;
#return 0;
}
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment