[CMF-checkins] CVS: CMF/CMFDefault - RegistrationTool.py:1.19.10.1
version.txt:1.7.32.4
Tres Seaver
cvs-admin at zope.org
Mon Oct 27 12:30:41 EST 2003
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv30611/CMFDefault
Modified Files:
Tag: CMF-1_4-branch
RegistrationTool.py version.txt
Log Message:
- CMFDefault/RegistrationTool.py:
o Merge change for CMFHotfix_20031026.
- Package for CMF 1.4.2.
=== CMF/CMFDefault/RegistrationTool.py 1.19 => 1.19.10.1 ===
--- CMF/CMFDefault/RegistrationTool.py:1.19 Fri Mar 14 11:06:24 2003
+++ CMF/CMFDefault/RegistrationTool.py Mon Oct 27 12:30:10 2003
@@ -158,6 +158,11 @@
raise 'NotFound', 'The username you entered could not be found.'
password = member.getPassword()
+ email = member.getProperty( 'email' )
+
+ if email is None:
+ raise ValueError( 'Member %s has no e-mail address!'
+ % new_member_id )
# Rather than have the template try to use the mailhost, we will
# render the message ourselves and send it from here (where we
@@ -166,6 +171,7 @@
, self.REQUEST
, member=member
, password=password
+ , email=email
)
host = self.MailHost
=== CMF/CMFDefault/version.txt 1.7.32.3 => 1.7.32.4 ===
--- CMF/CMFDefault/version.txt:1.7.32.3 Fri Sep 5 11:20:39 2003
+++ CMF/CMFDefault/version.txt Mon Oct 27 12:30:10 2003
@@ -1 +1 @@
-CMF-1.4.1
+CMF-1.4.2
More information about the CMF-checkins
mailing list