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

Jens Vagelpohl jens@zope.com
Wed, 10 Oct 2001 11:42:26 -0400


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

Modified Files:
	MembershipTool.py 
Log Message:
CMF Tracker issue 365: when using LoginManager, the user gets created but no 
further work is performed. (Hopefully) fixed by removing "return" statement
after call to the LoginManager's add method.

In general I do not think we should be in the business of supporting 
3rd party user sources from the core CMF code. This is a job for 
customized tools and not for the core. I would like that code removed.



=== Products/CMFCore/MembershipTool.py 1.13 => 1.14 ===
                 if hasattr(source, 'addUser'):
                     source.__of__(self).addUser(id, password, roles, domains)
-                    return
             raise "Can't add Member", "No supported UserSources"
 
         if properties is not None: