login() renamed to _login() in 8.0
parent
9c3a6647ee
commit
86e3f414cc
|
@ -87,7 +87,7 @@ class ResUsers(orm.Model):
|
|||
}
|
||||
|
||||
# Re-defining the login function in order to use the new table
|
||||
def login(self, db, login, password):
|
||||
def _login(self, db, login, password):
|
||||
if not password:
|
||||
return False
|
||||
user_id = False
|
||||
|
|
Loading…
Reference in New Issue