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

Lennart Regebro lennart@torped.se
Mon, 16 Dec 2002 12:54:47 -0500


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

Modified Files:
	User.py 
Log Message:
Fixed a "spelling" error.

=== Zope/lib/python/AccessControl/User.py 1.173 => 1.174 ===
--- Zope/lib/python/AccessControl/User.py:1.173	Mon Dec 16 12:20:16 2002
+++ Zope/lib/python/AccessControl/User.py	Mon Dec 16 12:54:46 2002
@@ -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