[CMF-checkins] CVS: CMF/CMFDefault - RegistrationTool.py:1.11

Steve Alexander steve@cat-box.net
Mon, 11 Mar 2002 11:30:02 -0500

Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv30149/CMFDefault

Modified Files:
Log Message:
commit on behalf of chrisw, who says: "ChrisW should get more sleep"

=== CMF/CMFDefault/RegistrationTool.py 1.10 => 1.11 ===
                 return 'The login name you selected is already ' \
                        'in use or is not valid. Please choose another.'
-        if not props.get('email', ''):
+        if not (props.get('email') or member.getProperty('email')):
             return 'You must enter a valid email address.'
         return None