0001-templates-don-t-include-None-password-in-new-account.patch
templates/authentic2/manager/new-account-notification_body.html | ||
---|---|---|
14 | 14 |
<li>Nom : {{ user.last_name }}</li> |
15 | 15 |
</ul> |
16 | 16 | |
17 |
{% if new_password %} |
|
17 | 18 |
<p> |
18 | 19 |
Votre mot de passe est : {{ new_password }} |
19 | 20 |
</p> |
21 |
{% endif %} |
|
20 | 22 | |
21 | 23 |
{% if portal_user_url %} |
22 | 24 |
{% include "emails/button-link.html" with url=portal_user_url label="Accéder au site" %} |
templates/authentic2/manager/new-account-notification_body.txt | ||
---|---|---|
10 | 10 |
* Prénom : {{ user.first_name }} |
11 | 11 |
* Nom : {{ user.last_name }} |
12 | 12 | |
13 |
Votre mot de passe est : {{ new_password }}
|
|
13 |
{% if new_password %}Votre mot de passe est : {{ new_password }}{% endif %}
|
|
14 | 14 | |
15 | 15 |
{% if portal_user_url %}Accéder au site : {{ portal_user_url }}{% endif %} |
16 | 16 | |
17 |
- |