[Zope-Checkins] CVS: Zope/lib/python/AccessControl - User.py:1.170.6.4

Matthew T. Kromer matt@zope.com
Mon, 10 Feb 2003 12:05:15 -0500


Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv24990/lib/python/AccessControl

Modified Files:
      Tag: Zope-2_6-branch
	User.py 
Log Message:
Route a change from December 16 to the 2.6 branch


=== Zope/lib/python/AccessControl/User.py 1.170.6.3 => 1.170.6.4 ===
--- Zope/lib/python/AccessControl/User.py:1.170.6.3	Mon Dec 16 11:50:06 2002
+++ Zope/lib/python/AccessControl/User.py	Mon Feb 10 12:05:14 2003
@@ -1034,7 +1034,7 @@
     def _doChangeUser(self, name, password, roles, domains, **kw):
         user=self.data[name]
         if password is not None:
-            if self.encrypt_passwords and not self._isPasswordEncrypted(pw):
+            if self.encrypt_passwords and not self._isPasswordEncrypted(password):
                 password = self._encryptPassword(password)
             user.__=password
         user.roles=roles