diff --git a/core/templates/registration/passwor_reset_confirm.html b/core/templates/registration/passwor_reset_confirm.html index a8e2d8c..7abb6df 100644 --- a/core/templates/registration/passwor_reset_confirm.html +++ b/core/templates/registration/passwor_reset_confirm.html @@ -1,48 +1,40 @@ {% extends "index.html" %} {% load i18n static %} -{% block content%} + {% block content%}
- O link de redefinição de senha está inválido, possivelmente porque ele já foi utilizado. - Por favor, solicite uma nova redefinição de senha. -
- {% endif %} - -{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}
+ + + + {% else %} + +{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}
+ + {% endif %} -{% endblock content %} + {% endblock %} diff --git a/core/urls.py b/core/urls.py index 7b1f65b..b6559a7 100644 --- a/core/urls.py +++ b/core/urls.py @@ -21,7 +21,7 @@ urlpatterns = [ url(r'^reset/done/$', password_reset_done, {'template_name':'registration/passwor_reset_done.html'}), url(r'^reset/(?P