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} ); } }