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)
 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to