Commit Graph
16 Commits
Author SHA1 Message Date
Olivier Dony 723861933c [FIX] base_crypt: use hashlib.md5 instead of md5.md5 for python 2.5+
This also takes care of the DeprecationWarning for Python 2.5+

bzr revid: odo@openerp.com-20110112223436-9ian2damgzh0qoev
2011-01-12 23:34:36 +01:00
Julien Thewys c9fc809271 [FIX] do not encrypt empty password
bzr revid: jth@openerp.com-20110112150518-qup0i5efc4g4xcep
2011-01-12 16:05:18 +01:00
Julien Thewys 4448a67b49 [REF] cosmetic
bzr revid: jth@openerp.com-20110112150136-kzaw52txf5rwadrx
2011-01-12 16:01:36 +01:00
Sbh (OpenERP) 922f7caae0 [Fix] Fix buildbot warning
bzr revid: sbh@tinyerp.com-20101230060952-p0ehq3mgx7cpbfqw
2010-12-30 11:39:52 +05:30
Vo Minh Thu fd845c7960 [IMP] base_crypt: the salt cache is on the per db res.users object.
bzr revid: vmt@openerp.com-20101228142740-qkhsrnyabjhgsdnx
2010-12-28 15:27:40 +01:00
Vo Minh Thu 0e7f74342a [IMP] base_crypt: caches are per db.
bzr revid: vmt@openerp.com-20101227161234-kmg2gp1mvpav0qpb
2010-12-27 17:12:34 +01:00
Vo Minh Thu d3d48fd151 [IMP] base_crypt: make sure to also clear the salt cache.
bzr revid: vmt@openerp.com-20101227111111-4xw1bkjij343jzpm
2010-12-27 12:11:11 +01:00
Vo Minh Thu 911666b362 [IMP] base_crypt: use the uid_cache and only the login method makes sure all passwords are hashed.
bzr revid: vmt@openerp.com-20101226122129-s3yqozd5822t3mfs
2010-12-26 13:21:29 +01:00
Vo Minh Thu e9c8d9ce77 [IMP] base_crypt: encrypting all passwords at the first check.
bzr revid: vmt@openerp.com-20101223163100-ib3qf9i4kiqkpn77
2010-12-23 17:31:00 +01:00
Vo Minh Thu a0640060f5 [IMP] base_crypt: uses the existing password column (making it a stored function field).
bzr revid: vmt@openerp.com-20101223155013-20wd0vxgug1we02b
2010-12-23 16:50:13 +01:00
Vo Minh Thu 0594c0c96f [IMP] base_crypt: access, login, and check are now methods of the users class (changes for v6).
bzr revid: vmt@openerp.com-20101222161841-lwgycpyq6c81vfv3
2010-12-22 17:18:41 +01:00
ksa (Open ERP) 756ab060bb [IMP]:Remove print statement
bzr revid: vmt@openerp.com-20100706051058-q29kpyy7s80i0e9h
2010-07-06 10:40:58 +05:30
Mantavya Gajjar 0232413678 [MERGE]: merging from same branch
bzr revid: vmt@openerp.com-20091125141435-vsxil5iy8pa69jgj
2009-11-25 19:44:35 +05:30
Husen Daudi f522b77574 Improve code to check cache (reference: HMO)
bzr revid: hda@tinyerp.com-20080611070322-smrboaciwsho7env
2008-06-11 07:03:22 +00:00
Husen Daudi e830358b25 Add copyrights
bzr revid: hda@tinyerp.com-20080529044607-09pqwt6ihm3j62go
2008-05-29 04:46:07 +00:00
Husen Daudi b495cec9d1 Module for password encryption.
bzr revid: hda@tinyerp.com-20080528030338-7izwvtmmmizg9sp5
2008-05-28 03:03:38 +00:00