From d9c330104dba2a9ea9a05d0aee31bdeea07927b5 Mon Sep 17 00:00:00 2001 From: Mantavya Gajjar Date: Wed, 11 Apr 2007 07:37:51 +0000 Subject: [PATCH] USERS_LDAP: use synchro connection to bind bzr revid: mga@tinyerp.com-73b73db52b160f3c864308e333849b28c9504e56 --- bin/service/security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/service/security.py b/bin/service/security.py index 0bc68eb4006..493f11f0c51 100644 --- a/bin/service/security.py +++ b/bin/service/security.py @@ -49,7 +49,7 @@ def check_super(passwd): raise Exception('AccessDenied') def check(db, uid, passwd): - #FIXME: this should be db dependent + # XXX FIXME: this should be db dependent if _uid_cache.has_key(uid) and (_uid_cache[uid]==passwd): return True cr = pooler.get_db(db).cursor()