Commit 6d3590d2 authored by Nicolas Delaby's avatar Nicolas Delaby

import pw_encrypt from Person (thanks Kazuhiko)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24629 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9d8d611c
...@@ -39,10 +39,7 @@ from DateTime import DateTime ...@@ -39,10 +39,7 @@ from DateTime import DateTime
from Products.ERP5Type.Message import translateString from Products.ERP5Type.Message import translateString
from Acquisition import aq_base from Acquisition import aq_base
from BTrees.OOBTree import OOBTree from BTrees.OOBTree import OOBTree
try: from Products.ERP5.Document.Person import pw_encrypt
from AccessControl.AuthEncoding import pw_encrypt
except ImportError:
pw_encrypt = lambda pw:pw
class PasswordTool(BaseTool): class PasswordTool(BaseTool):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment