diff options
| author | Mantavya Gajjar <mga@tinyerp.com> | 2007-04-11 07:37:51 +0000 |
|---|---|---|
| committer | Mantavya Gajjar <mga@tinyerp.com> | 2007-04-11 07:37:51 +0000 |
| commit | d9c330104dba2a9ea9a05d0aee31bdeea07927b5 (patch) | |
| tree | 1394011abefdf273706198a4d101b7c547c6c273 /bin/service/security.py | |
| parent | d0cd8dada11858325b9098cc7f40d38d3366170e (diff) | |
USERS_LDAP: use synchro connection to bind
bzr revid: mga@tinyerp.com-73b73db52b160f3c864308e333849b28c9504e56
Diffstat (limited to 'bin/service/security.py')
| -rw-r--r-- | bin/service/security.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
