diff options
Diffstat (limited to 'addons/auth_crypt/auth_crypt.py')
| -rw-r--r-- | addons/auth_crypt/auth_crypt.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/auth_crypt/auth_crypt.py b/addons/auth_crypt/auth_crypt.py index c5bd5799017..a7e3a826223 100644 --- a/addons/auth_crypt/auth_crypt.py +++ b/addons/auth_crypt/auth_crypt.py @@ -22,6 +22,8 @@ _logger = logging.getLogger(__name__) magic_md5 = '$1$' magic_sha256 = '$5$' +openerp.addons.base.res.res_users.USER_PRIVATE_FIELDS.append('password_crypt') + def gen_salt(length=8, symbols=None): if symbols is None: symbols = ascii_letters + digits @@ -173,5 +175,4 @@ class res_users(osv.osv): # Reraise password incorrect raise - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
