Commit 69fac32c by Damien Moulard

Merge branch 'lien-cliquable-mail-reset-password' into 'develop'

reset password : clickable link with html in twig without translation for tav

See merge request cooperatic/kohinos-tav!32
parents c9270a70 a7f56c89
......@@ -6,8 +6,17 @@
{% endblock %}
{% block body_text %}
{% autoescape false %}
{{ 'resetting.email.message'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}) }}
{% endautoescape %}
{% if not tav_env %}
{% autoescape false %}
{{ 'resetting.email.message'|trans({'%username%': user.username, '%confirmationUrl%': confirmationUrl}) }}
{% endautoescape %}
{% endif %}
{% endblock %}
{% block body_html %}
{% if tav_env %}
{% autoescape false %}
{{ 'Bonjour ' ~ user.username ~ ' !<br/><br/>Pour réinitialiser votre mot de passe, merci de <a href=' ~ confirmationUrl ~ '>cliquer sur ce lien</a>.<br/><br/>Cordialement,\nL\'équipe\n' }}
{% endautoescape %}
{% endif %}
{% endblock %}
{% block body_html %}{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment