USERS_LDAP: use synchro connection to bind
bzr revid: mga@tinyerp.com-73b73db52b160f3c864308e333849b28c9504e56
This commit is contained in:
parent
d0cd8dada1
commit
d9c330104d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue