login() renamed to _login() in 8.0

pull/206/head
Charbel Jacquin 2015-07-24 12:00:07 +02:00
parent 9c3a6647ee
commit 86e3f414cc
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class ResUsers(orm.Model):
} }
# Re-defining the login function in order to use the new table # 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: if not password:
return False return False
user_id = False user_id = False