diff --git a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf.pm b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf.pm index d46184e12..df637da6d 100644 --- a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf.pm +++ b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf.pm @@ -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',