Typos
This commit is contained in:
parent
9c512f8e5b
commit
668b11b399
|
@ -1,8 +1,8 @@
|
|||
Writing rules and headers
|
||||
=========================
|
||||
|
||||
LL::NG manages applications by their hostname (Apache's
|
||||
Virtual Hosts or Nginx Block Servers). Rules are used for protecting applications,
|
||||
LL::NG manages applications by their hostname (Apache Virtual Hosts or
|
||||
Nginx Block Servers). Rules are used for protecting applications,
|
||||
and HTTP headers are appended to each request for sending datas to protected
|
||||
applications (for logs, profiles,...).
|
||||
|
||||
|
|
|
@ -515,12 +515,12 @@ sub _displayRegister {
|
|||
}
|
||||
: undef;
|
||||
unless ($_2fDevices) {
|
||||
$self->logger->debug("No 2F Device found");
|
||||
$self->logger->debug("None 2F device found");
|
||||
$_2fDevices = [];
|
||||
}
|
||||
}
|
||||
else {
|
||||
$self->userLogger->warn("Do not diplay 2F Devices!");
|
||||
$self->userLogger->warn("Do not display 2F devices!");
|
||||
}
|
||||
|
||||
# Parse second factors to display delete button if allowed and upgrade button
|
||||
|
|
|
@ -625,7 +625,7 @@ sub buildRule {
|
|||
my $compiledRule =
|
||||
$self->HANDLER->buildSub( $self->HANDLER->substitute($rule) );
|
||||
unless ($compiledRule) {
|
||||
my $error = $self->HANDLER->tsv->{jail}->error || '???';
|
||||
my $error = $self->HANDLER->tsv->{jail}->error || 'Unable to compile rule';
|
||||
$self->logger->error( "Bad" . $ruleDesc . "rule: " . $error );
|
||||
}
|
||||
return $compiledRule,;
|
||||
|
|
Loading…
Reference in New Issue