diff --git a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm index cb9a7ae0d..1917332fa 100644 --- a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm +++ b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm @@ -50,7 +50,7 @@ sub new { } # Protection - if ( $self->{protection} ) { + if ( $self->{protection} and $self->{protection} ne 'none' ) { $self->authenticate(); # ACCOUNTING