From 86e3f414ccd6ee4896e8a8ca1b58b098d3c7ef79 Mon Sep 17 00:00:00 2001 From: Charbel Jacquin Date: Fri, 24 Jul 2015 12:00:07 +0200 Subject: [PATCH] login() renamed to _login() in 8.0 --- base_concurrency/res_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_concurrency/res_users.py b/base_concurrency/res_users.py index 905af8566..9e910fc1c 100644 --- a/base_concurrency/res_users.py +++ b/base_concurrency/res_users.py @@ -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