summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/vhosts/webdav/CentOS.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhosts/webdav/CentOS.erb b/templates/vhosts/webdav/CentOS.erb
index c297de5..d108f01 100644
--- a/templates/vhosts/webdav/CentOS.erb
+++ b/templates/vhosts/webdav/CentOS.erb
@@ -38,7 +38,7 @@
AuthUserFile <%= real_htpasswd_path %>
require valid-user
<%- end -%>
- <%- unless ldap_auth.to_s == 'true' then -%>
+ <%- if ldap_auth.to_s == 'true' then -%>
Include conf.d/ldap_auth.inc
<%- unless ldap-user.to_s == 'any' -%>
Require ldap-user <%= ldap_user.to_s %>