diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/05LemonLDAPHandler b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/05LemonLDAPHandler index a866835..fba7928 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/05LemonLDAPHandler +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/WebAppVirtualHost/05LemonLDAPHandler @@ -5,6 +5,9 @@ if (($domain->prop('LemonLDAP') || 'disabled') eq 'enabled'){ " PerlHeaderParserHandler My::Package\n" . " ErrorDocument 403 https://auth.$DomainName/?lmError=403\n" . " ErrorDocument 500 https://auth.$DomainName/?lmError=500\n"; + if (($domain->prop('LemonLDAPMenu') || 'disabled') eq 'enabled'){ + $OUT .= " PerlOutputFilterHandler Lemonldap::NG::Handler::Menu\n"; + } } }