[Zope-Checkins] CVS: Zope/lib/python/AccessControl - User.py:1.170.6.2.12.2
Lennart Regebro
lennart@torped.se
Mon, 16 Dec 2002 12:48:24 -0500
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv13946/lib/python/AccessControl
Modified Files:
Tag: regebro-collector_256-branch
User.py
Log Message:
Fixed a "spelling" mistake.
=== Zope/lib/python/AccessControl/User.py 1.170.6.2.12.1 => 1.170.6.2.12.2 ===
--- Zope/lib/python/AccessControl/User.py:1.170.6.2.12.1 Mon Dec 16 12:07:41 2002
+++ Zope/lib/python/AccessControl/User.py Mon Dec 16 12:48:24 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