Browse Source

Syntax error in activation e-mail kills registration

Ralfp 12 years ago
parent
commit
a8d9232d02
1 changed files with 2 additions and 3 deletions
  1. 2 3
      templates/_email/users/activation/none_plain.html

+ 2 - 3
templates/_email/users/activation/none_plain.html

@@ -11,8 +11,7 @@ Your Account Data
 -----------------
 -----------------
 {% trans %}Username{% endtrans %}:    {{ user.username }}
 {% trans %}Username{% endtrans %}:    {{ user.username }}
 {% trans %}E-mail{% endtrans %}:    {{ user.email }}{% if settings.password_in_email %}
 {% trans %}E-mail{% endtrans %}:    {{ user.email }}{% if settings.password_in_email %}
-{% trans %}Password{% endtrans %}:    {{ password }}{% endif %}
+{% trans %}Password{% endtrans %}:    {{ password }}
 
 
-{% trans %}This is only time you will receive your current password. Due to security reasons we don't store members passwords as they are entered on registration, instead we encrypt those password in un-reversible manner to keep them safe.{% endtrans %}{% block activation_instructions %}{% endblock %}
-{% endif %}
+{% trans %}This is only time you will receive your current password. Due to security reasons we don't store members passwords as they are entered on registration, instead we encrypt those password in un-reversible manner to keep them safe.{% endtrans %}{% endif %}{% block activation_instructions %}{% endblock %}
 {% endblock %}
 {% endblock %}