diff options
-rw-r--r-- | jm2l/views.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jm2l/views.py b/jm2l/views.py index 6889a1e..6fe3e4a 100644 --- a/jm2l/views.py +++ b/jm2l/views.py @@ -652,14 +652,15 @@ def participer(request): CheckExist=None if CheckExist: MyLink = CheckExist.my_hash + NewUser = CheckExist else: DBSession.add(TmpUsr) DBSession.flush() MyLink = TmpUsr.my_hash + NewUser = TmpUsr - mailer = request.registry['mailer'] # Send the Welcome Mail - NewUser = TmpUsr + mailer = request.registry['mailer'] # Prepare Plain Text Message : Mail_template = Template(filename='jm2l/templates/mail_plain.mako') mail_plain = Mail_template.render(request=request, User=NewUser, action="Welcome") |