|
|
|
@ -18,8 +18,11 @@ around init => sub { |
|
|
|
|
$self->$method($args); |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
unless(Lemonldap::NG::Handler::SharedConf->checkConf($self) or $self->{protection} eq 'none') { |
|
|
|
|
$self->error($Lemonldap::NG::Common::Conf::msg); |
|
|
|
|
unless ( Lemonldap::NG::Handler::SharedConf->checkConf($self) |
|
|
|
|
or $self->{protection} eq 'none' ) |
|
|
|
|
{ |
|
|
|
|
$self->error( |
|
|
|
|
"Unable to protect this app ($Lemonldap::NG::Common::Conf::msg)"); |
|
|
|
|
$self->$method($args); |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|