Warn if key is not defined
This commit is contained in:
parent
416fa64a0d
commit
b529a4c794
|
@ -153,6 +153,8 @@ sub getConf {
|
|||
delete $r->{reVHosts};
|
||||
}
|
||||
else {
|
||||
print STDERR 'Warning: key is not defined, set it in the manager !'
|
||||
unless ( $r->{key} );
|
||||
eval {
|
||||
$r->{cipher} = Lemonldap::NG::Common::Crypto->new(
|
||||
$r->{key} || 'lemonldap-ng-key',
|
||||
|
|
Loading…
Reference in New Issue
Block a user