diff --git a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Main/Run.pm b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Main/Run.pm index 023a38402..34daaeea9 100644 --- a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Main/Run.pm +++ b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Main/Run.pm @@ -829,8 +829,8 @@ sub localUnlog { if ( $class->tsv->{sessionCacheModule} ) { my $module = $class->tsv->{sessionCacheModule}; my $options = $class->tsv->{sessionCacheOptions}; - my $cache = $module->new($options); eval "use $module;"; + my $cache = $module->new($options); if ( $cache->get($id) ) { $cache->remove($id); }