From 634d23568477c17a602545bdf21450b49cb0cb06 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 3 Dec 2011 23:26:52 +0100 Subject: Read database password from dbpassword.txt. --- src/mulk/benki/db.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3