users_ldap: trivial fix in referenced exception.
bzr revid: p_christ@hol.gr-20101214153348-2s3zpv7v710z5h13
This commit is contained in:
parent
7736b371d0
commit
bb8533edc6
|
@ -136,7 +136,7 @@ class users(osv.osv):
|
|||
def check(self, db, uid, passwd):
|
||||
try:
|
||||
return super(users,self).check(db, uid, passwd)
|
||||
except ExceptionNoTb: # AccessDenied
|
||||
except security.ExceptionNoTb: # AccessDenied
|
||||
pass
|
||||
cr = pooler.get_db(db).cursor()
|
||||
user = self.browse(cr, 1, uid)
|
||||
|
|
Loading…
Reference in New Issue