summaryrefslogtreecommitdiff
path: root/modules/installed/lib/auth.py
diff options
context:
space:
mode:
authorJames Vasile <james@hackervisions.org>2011-12-01 10:04:46 -0500
committerJames Vasile <james@jamesvasile.com>2012-02-19 15:07:14 -0500
commit79de884549871432c1ce3d3ff6881dc88f973cf7 (patch)
treea304ddaf63d64ffd05c7f8b7168c136e697062e5 /modules/installed/lib/auth.py
parent4409f1598dfa379da07845b290d5137da8330a31 (diff)
complete the transition to sqlite
Diffstat (limited to 'modules/installed/lib/auth.py')
-rw-r--r--modules/installed/lib/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/installed/lib/auth.py b/modules/installed/lib/auth.py
index 4b0f229..988f8dd 100644
--- a/modules/installed/lib/auth.py
+++ b/modules/installed/lib/auth.py
@@ -18,7 +18,7 @@ def check_credentials(username, passphrase):
"""Verifies credentials for username and passphrase.
Returns None on success or a string describing the error on failure"""
- u = cfg.users.get(username)
+ u = cfg.users[username]
if u is None:
cfg.log("Unknown user: %s" % username)
return u"Username %s is unknown to me." % username