[CMF-checkins] CVS: CMF/CMFDefault - RegistrationTool.py:1.19.8.2
Tres Seaver
tseaver@zope.com
Tue, 15 Apr 2003 13:09:03 -0400
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv21462/CMFDefault
Modified Files:
Tag: tseaver-reg_properties-branch
RegistrationTool.py
Log Message:
- Undo regression of Collector #48.
- Add test for #48. :)
- Add minimal test of 'testPasswordValidity'.
=== CMF/CMFDefault/RegistrationTool.py 1.19.8.1 => 1.19.8.2 ===
--- CMF/CMFDefault/RegistrationTool.py:1.19.8.1 Tue Apr 15 12:47:01 2003
+++ CMF/CMFDefault/RegistrationTool.py Tue Apr 15 13:08:33 2003
@@ -136,8 +136,8 @@
return 'You must enter a valid name.'
if not self.isMemberIdAllowed(username):
- raise ('The login name you selected is already '
- 'in use or is not valid. Please choose another.')
+ return ('The login name you selected is already '
+ 'in use or is not valid. Please choose another.')
if not props.get('email'):
return 'You must enter a valid email address.'