summaryrefslogtreecommitdiff
path: root/templates/vhosts/partials/authentication.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/partials/authentication.erb')
-rw-r--r--templates/vhosts/partials/authentication.erb12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/vhosts/partials/authentication.erb b/templates/vhosts/partials/authentication.erb
index 6ca1b03..ed83221 100644
--- a/templates/vhosts/partials/authentication.erb
+++ b/templates/vhosts/partials/authentication.erb
@@ -1,6 +1,6 @@
-<% unless htpasswd_file.to_s == 'absent' -%>
- AuthType Basic
- AuthName "Access fuer <%= servername %>"
- AuthUserFile <%= real_htpasswd_path %>
- require valid-user
-<% end -%> \ No newline at end of file
+<% unless @htpasswd_file.to_s == 'absent' -%>
+ AuthType Basic
+ AuthName "Access fuer <%= @servername %>"
+ AuthUserFile <%= @real_htpasswd_path %>
+ require valid-user
+<% end -%>