USERS_LDAP: use synchro connection to bind

bzr revid: mga@tinyerp.com-73b73db52b160f3c864308e333849b28c9504e56
This commit is contained in:
Mantavya Gajjar 2007-04-11 07:37:51 +00:00
parent d0cd8dada1
commit d9c330104d
1 changed files with 1 additions and 1 deletions

View File

@ -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()