diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm index 416695b44..2325904a7 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm @@ -10,7 +10,7 @@ our @ISA = qw(CGI); use Lemonldap::NG::Handler::SharedConf qw(:all); -our $VERSION = '0.1'; +our $VERSION = '0.11'; sub new { my $class = shift; @@ -93,6 +93,10 @@ use Lemonldap::NG::Handler::SharedConf qw(:locationRules); our @ISA = qw(Lemonldap::NG::Handler::SharedConf); +sub localInit { + 1; +} + sub lmLog { my ( $self, $mess, $level ) = @_; $mess =~ s/^.*HASH[^:]*:/__PACKAGE__/e; diff --git a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Sessions.pm b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Sessions.pm index 92d2fb3ee..18d55258e 100755 --- a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Sessions.pm +++ b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Sessions.pm @@ -105,7 +105,7 @@ sub new { my ( $class, $args ) = @_; my $self = $class->SUPER::new($args) or _abort( 'Unable to start ' . __PACKAGE__, 'See Apache logs for more' ); - foreach (qw(jqueryUri jquerySimpleTreeUri personnalCss imagePath)) { + foreach (qw(jqueryUri jquerySimpleTreeUri personnalCss imagePath protection)) { $self->{$_} = $args->{$_}; # or print STDERR "Warning, $_ is not set, falling to default value\n"; } eval "use $globalStorage"; @@ -191,11 +191,11 @@ sub process { ) { last if ( ( keys %{ $byUid->{$uid} } ) == 1 ); - print "
  • $uid