Commit 6880502f authored by Florent Guillaume's avatar Florent Guillaume

Collector #1926: fixed a typo in _doAddUser when password encryption is

enabled.
parent 34f90ca8
......@@ -22,6 +22,13 @@ Zope Changes
- Collector #1233: port ZOPE_CONFIG patch from Zope 2.7 to Zope 2.8
After Zope 2.8.3
Bugs Fixed
- Collector #1926: fixed a typo in _doAddUser when password
encryption is enabled.
Zope 2.8.3 (2005/10/18)
Other
......
......@@ -1045,7 +1045,7 @@ class UserFolder(BasicUserFolder):
def _doAddUser(self, name, password, roles, domains, **kw):
"""Create a new user"""
if password is not None and self.encrypt_passwords \
and not self._isPasswordEncrypted(pw):
and not self._isPasswordEncrypted(password):
password = self._encryptPassword(password)
self.data[name]=User(name,password,roles,domains)
......
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