[CMF-checkins] CVS: Products/CMFCore - MembershipTool.py:1.51

Florent Guillaume fg at nuxeo.com
Fri Mar 25 12:47:42 EST 2005


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv17504

Modified Files:
	MembershipTool.py 
Log Message:
User proper _doAddUser API to add a user.


=== Products/CMFCore/MembershipTool.py 1.50 => 1.51 ===
--- Products/CMFCore/MembershipTool.py:1.50	Tue Mar 22 18:23:06 2005
+++ Products/CMFCore/MembershipTool.py	Fri Mar 25 12:47:42 2005
@@ -446,8 +446,8 @@
         already been performed.  Called by portal_registration.
         '''
         acl_users = self.acl_users
-        if hasattr(acl_users, '_addUser'):
-            acl_users._addUser(id, password, password, roles, domains)
+        if hasattr(acl_users, '_doAddUser'):
+            acl_users._doAddUser(id, password, roles, domains)
         else:
             # The acl_users folder is a LoginManager.  Search for a UserSource
             # with the needed support.



More information about the CMF-checkins mailing list