Don't fail on zero configuration (Closes: #1030)
This commit is contained in:
parent
181461e2f7
commit
04846adaa5
|
@ -27,7 +27,7 @@ sub init {
|
|||
"Unable to protect this app ($Lemonldap::NG::Common::Conf::msg)");
|
||||
return 0;
|
||||
}
|
||||
$self->portal( $self->api->tsv->{portal}->() );
|
||||
eval { $self->portal( $self->api->tsv->{portal}->() ) };
|
||||
my $rule =
|
||||
$self->{protection} || $self->api->localConfig->{protection} || '';
|
||||
$self->rule(
|
||||
|
|
Loading…
Reference in New Issue
Block a user