Yvo Schubbe wrote:
Modified: CMF/trunk/CMFDefault/RegistrationTool.py
===================================================================
--- CMF/trunk/CMFDefault/RegistrationTool.py 2006-02-14 21:47:30 UTC (rev
41621)
+++ CMF/trunk/CMFDefault/RegistrationTool.py 2006-02-14 22:19:40 UTC (rev
41622)
@@ -131,8 +131,7 @@
# Rather than have the template try to use the mailhost, we will
# render the message ourselves and send it from here (where we
# don't need to worry about 'UseMailHost' permissions).
- method = getattr(self, 'member_password_mail',
- getattr(self, 'mail_password_template'))
+ method = getattr(self, 'member_password_mail')
Well, self.member_password_mail is simpler :)
Florent
kw = {'member': member, 'password': member.getPassword()}
if getattr(aq_base(method), 'isDocTemp', 0):
@@ -173,8 +172,7 @@
# Rather than have the template try to use the mailhost, we will
# render the message ourselves and send it from here (where we
# don't need to worry about 'UseMailHost' permissions).
- method = getattr(self, 'member_registered_mail',
- getattr(self, 'registered_notify_template'))
+ method = getattr(self, 'member_registered_mail')
kw = {'member': member, 'password': password, 'email': email}
if getattr(aq_base(method), 'isDocTemp', 0):
--
Florent Guillaume, Nuxeo (Paris, France) Director of R&D
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
_______________________________________________
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests