summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-12-03 23:26:52 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-12-03 23:26:52 +0100
commit634d23568477c17a602545bdf21450b49cb0cb06 (patch)
treeecee51f052ccd9b2c54f5b206a97bf7c9aacc3da /src
parent3ce458b5af552ca44080d3b4f7c8abd5b8fc2731 (diff)
Read database password from dbpassword.txt.
Diffstat (limited to 'src')
-rw-r--r--src/mulk/benki/db.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mulk/benki/db.clj b/src/mulk/benki/db.clj
index 468ce30..d2349e9 100644
--- a/src/mulk/benki/db.clj
+++ b/src/mulk/benki/db.clj
@@ -9,7 +9,7 @@
:subprotocol "postgresql"
:subname "//localhost:5432/benki"
:user "benki"
- :password ""})
+ :password (slurp "dbpassword.txt")})
(defn call-with-db [thunk]
(sql/with-connection db