From b5c1761bf48d2694b7a671fdeaa8af33b0fde661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Oudot?= Date: Thu, 3 Oct 2013 10:48:32 +0000 Subject: [PATCH] Fix little mistake in vhost alias (#558) --- lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Vhost.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Vhost.pm b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Vhost.pm index fdb1de87a..c4d9876e1 100644 --- a/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Vhost.pm +++ b/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Vhost.pm @@ -95,7 +95,7 @@ sub locationRulesInit { # Default police ( $defaultCondition->{$alias}, $defaultProtection->{$alias} ) = $class->conditionSub('accept') - unless ( $defaultCondition->{$vhost} ); + unless ( $defaultCondition->{$alias} ); } }