aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/templates/mail_html.mako
diff options
context:
space:
mode:
Diffstat (limited to 'jm2l/templates/mail_html.mako')
-rw-r--r--jm2l/templates/mail_html.mako8
1 files changed, 4 insertions, 4 deletions
diff --git a/jm2l/templates/mail_html.mako b/jm2l/templates/mail_html.mako
index 29f761e..b4facfe 100644
--- a/jm2l/templates/mail_html.mako
+++ b/jm2l/templates/mail_html.mako
@@ -1,16 +1,16 @@
## -*- coding: utf-8 -*-
-<%def name="Bienvenue(User)">
+<%def name="Bienvenue(request, User)">
<H4>JM2L</H4>
<p>
Bonjour ${User.prenom}.<br>
Vous venez de valider votre inscription sur le site des JM2L.<br>
-Voici <a href="http://jm2l.style-python.fr/sign/jm2l/${User.my_hash}">votre lien</a> pour vous connecter.<br>
+Voici <a href="${request.route_url('bymail', hash=User.my_hash)}">votre lien</a> pour vous connecter.<br>
Toute l'équipe vous souhaite une agréable visite !<br>
</p>
</%def> \
% if action=='Welcome':
-${self.Bienvenue(User)}
-% endif \ No newline at end of file
+${self.Bienvenue(request, User)}
+% endif