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

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


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

Modified Files:
      Tag: CMF-1_5-branch
	MembershipTool.py 
Log Message:
User proper _doAddUser API to add a user.


=== Products/CMFCore/MembershipTool.py 1.49.2.1 => 1.49.2.2 ===
--- Products/CMFCore/MembershipTool.py:1.49.2.1	Tue Mar 22 18:22:27 2005
+++ Products/CMFCore/MembershipTool.py	Fri Mar 25 12:47:19 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