Log message for revision 119159:
  - doesn't make a difference here, but the right API method for getting the 
user ID is getId, not getUserName

Changed:
  U   Zope/trunk/src/OFS/userfolder.py

-=-
Modified: Zope/trunk/src/OFS/userfolder.py
===================================================================
--- Zope/trunk/src/OFS/userfolder.py    2010-12-27 11:04:11 UTC (rev 119158)
+++ Zope/trunk/src/OFS/userfolder.py    2010-12-27 11:08:37 UTC (rev 119159)
@@ -122,7 +122,7 @@
                 pw = u._getPassword()
                 if not self._isPasswordEncrypted(pw):
                     pw = self._encryptPassword(pw)
-                    self._doChangeUser(u.getUserName(), pw, u.getRoles(),
+                    self._doChangeUser(u.getId(), pw, u.getRoles(),
                                        u.getDomains())
                     changed = changed + 1
             if REQUEST is not None:

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

Reply via email to