From f058fcf0bad4f60a1211943065222ee79c1e1ddf Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Sat, 13 Oct 2012 16:21:47 +0000 Subject: [PATCH] Restore "none" target (Closes: #545) --- lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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