summaryrefslogtreecommitdiff
path: root/addons/auth_crypt/auth_crypt.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/auth_crypt/auth_crypt.py')
-rw-r--r--addons/auth_crypt/auth_crypt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/auth_crypt/auth_crypt.py b/addons/auth_crypt/auth_crypt.py
index 384e7960cbe..eb57c8aa063 100644
--- a/addons/auth_crypt/auth_crypt.py
+++ b/addons/auth_crypt/auth_crypt.py
@@ -5,6 +5,8 @@ from passlib.context import CryptContext
import openerp
from openerp.osv import fields, osv
+openerp.addons.base.res.res_users.USER_PRIVATE_FIELDS.append('password_crypt')
+
_logger = logging.getLogger(__name__)
default_crypt_context = CryptContext(