users_ldap: trivial fix in referenced exception.

bzr revid: p_christ@hol.gr-20101214153348-2s3zpv7v710z5h13
This commit is contained in:
P. Christeas 2010-12-14 17:33:48 +02:00
parent 7736b371d0
commit bb8533edc6
1 changed files with 1 additions and 1 deletions

View File

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