Skip to content

Commit

Permalink
[FIX][bio_login]
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraiOsorio committed Nov 30, 2017
1 parent 0c6524e commit a7809a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bio_login/models/res_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def fingerprint(self):
transaction, 'Odoo', self.id)['outBioKey']
self.biokey = biokey

@classmethod
def _login(cls, db, login, password):
user_id = super(ResUsers, cls)._login(db, login, password)
def _login(self, db, login, password):
user_id = super(ResUsers, self)._login(db, login, password)
import ipdb; ipdb.set_trace()
if user_id == SUPERUSER_ID:
return user_id
with registry(db).cursor() as cr:
Expand Down

0 comments on commit a7809a5

Please sign in to comment.