summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-02-11 12:19:57 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-02-18 17:31:19 +0000
commitcc3c343a59640f52886cb6ff71c96a7a70ea0996 (patch)
tree121543d9cfa509135a062d243421c6a22092925a
parent844a6f44c519e31a2ad96d1d753ddd3a76736fc5 (diff)
downloadgitano-cc3c343a59640f52886cb6ff71c96a7a70ea0996.tar.gz
Make gitano-setup ask whether we will use htpasswd
-rw-r--r--bin/gitano-setup.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/gitano-setup.in b/bin/gitano-setup.in
index fbfa58a..61a3246 100644
--- a/bin/gitano-setup.in
+++ b/bin/gitano-setup.in
@@ -161,6 +161,7 @@ validate_name(ask_for("admin.keyname", "Key name for administrator",
ask_for("site.name", "Site name", "a random Gitano instance")
ask_for("log.prefix", "Site log prefix", "gitano")
+ask_for("use.htpasswd", "Store passwords with htpasswd? (needed for http authentication)", "no")
gitano.log.chat("Step 2: Gather required content")
@@ -169,6 +170,7 @@ local completely_flat = {}
local site_conf = clod.parse("")
site_conf.settings["site_name"] = get "site.name"
site_conf.settings["log.prefix"] = get "log.prefix"
+site_conf.settings["use_htpasswd"] = get "use.htpasswd"
completely_flat["site.conf"] = site_conf:serialise()
-- Acquire the contents of the skeleton gitano-admin repository