summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-02-27 09:04:53 -0800
committerelijah <elijah@riseup.net>2014-02-27 09:04:53 -0800
commit22fe74edaecbf8e9c76e74e7e74ce8a1cb8a629a (patch)
tree000fbaa443dfa60259eff4f217bdad2efe580ea8
parent761fe6f40058612d6ac0ce88103c9a4f35877ef8 (diff)
fixed horrible bug that caused all environments to use the same couchdb soledad password.
-rw-r--r--provider_base/services/soledad.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/provider_base/services/soledad.json b/provider_base/services/soledad.json
index fc349ce1..ed6fbc9f 100644
--- a/provider_base/services/soledad.json
+++ b/provider_base/services/soledad.json
@@ -2,7 +2,11 @@
"soledad": {
"port": 2323,
"require_couchdb": "=> assert %(services.include? 'couchdb')",
- "couchdb_soledad_user": "= global.services[:couchdb].couch.users[:soledad]"
+ "couchdb_soledad_user": {
+ "username": "= global.services[:couchdb].couch.users[:soledad].username",
+ "password": "= secret :couch_soledad_password",
+ "salt": "= hex_secret :couch_soledad_password_salt, 128"
+ }
},
"service_type": "public_service"
}