Fixed the recovery password email

remotes/origin/enhancement/email-actions
David Barragán Merino 2013-10-27 21:24:24 +01:00
parent 1ac1f877c6
commit eb8917ec5f
3 changed files with 35 additions and 2 deletions

View File

@ -1 +1,22 @@
Password recovery token: {{ resolve_front_url('change-password', user.token) }} {% extends "emails/base.jinja" %}
{% set final_url = resolve_front_url('change-password', user.token) %}
{% block body %}
<table border="0" width="100%" cellpadding="0" cellspacing="0" class="table-body">
<tr>
<td>
<h1>Recover your password:</h1>
<p>Hello {{ user.get_full_name() }},</p>
<p>you can recover your password by going to the following url:</p>
<p><a style="color: #666;" href="{{ final_url }}">{{ final_url }}</a>
<p>You can ignore this message if you did not request.</p>
<p>Regards</p>
<p>
--<br />
The Greenmine Team
</p>
</td>
</tr>
</table>
{% endblock %}

View File

@ -0,0 +1,12 @@
Hello {{ user.get_full_name() }},
you can recover your password by going to the following url:
{{ resolve_front_url('change-password', user.token) }}
You can ignore this message if you did not request.
Regards
--
The Greenmine Team

View File

@ -1 +1 @@
Password recovery [Greenmine] Password recovery