From 55d5d83788c4d5abfd903835a8b66c2537e72c60 Mon Sep 17 00:00:00 2001 From: Jeff Sherard Date: Tue, 28 Apr 2015 11:21:10 -0600 Subject: [PATCH] added authentication --- professor/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/professor/util.py b/professor/util.py index c0bed2d..952630c 100644 --- a/professor/util.py +++ b/professor/util.py @@ -145,6 +145,7 @@ def connect_to(database): slaveok=True, ) conndb = conn[database['dbname']] + conndb.authenticate(database['username'], database['password']) return conndb