[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Collector
#1926: fixed a typo in _doAddUser when password encryption is
Florent Guillaume
fg at nuxeo.com
Thu Oct 20 20:06:18 EDT 2005
Log message for revision 39540:
Collector #1926: fixed a typo in _doAddUser when password encryption is
enabled.
Changed:
U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
U Zope/branches/Zope-2_8-branch/lib/python/AccessControl/User.py
-=-
Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
===================================================================
--- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt 2005-10-20 15:07:29 UTC (rev 39539)
+++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt 2005-10-21 00:06:17 UTC (rev 39540)
@@ -22,6 +22,13 @@
- 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
Modified: Zope/branches/Zope-2_8-branch/lib/python/AccessControl/User.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/AccessControl/User.py 2005-10-20 15:07:29 UTC (rev 39539)
+++ Zope/branches/Zope-2_8-branch/lib/python/AccessControl/User.py 2005-10-21 00:06:17 UTC (rev 39540)
@@ -1045,7 +1045,7 @@
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)
More information about the Zope-Checkins
mailing list