diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-12-03 23:26:52 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-12-03 23:26:52 +0100 |
commit | 634d23568477c17a602545bdf21450b49cb0cb06 (patch) | |
tree | ecee51f052ccd9b2c54f5b206a97bf7c9aacc3da | |
parent | 3ce458b5af552ca44080d3b4f7c8abd5b8fc2731 (diff) |
Read database password from dbpassword.txt.
-rw-r--r-- | src/mulk/benki/db.clj | 2 |
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 |