diff --git a/moku/forms/user.py b/moku/forms/user.py index 5122278..508b580 100644 --- a/moku/forms/user.py +++ b/moku/forms/user.py @@ -16,14 +16,10 @@ class UserForm(UserCreationForm): labels = { "username": _("username"), "email": _("email address"), - "password1": _("password"), - "password2": _("password (again)"), } help_texts = { "username": User._meta.get_field("username").help_text, "email": User._meta.get_field("email").help_text, - "password1": _("make a secure password that you've never used before!"), - "password2": _("just type the password again to confirm"), } def __init__(self, *args, **kwargs): diff --git a/moku/templates/moku/signup.jinja b/moku/templates/moku/signup.jinja index 27f9569..1b132cd 100644 --- a/moku/templates/moku/signup.jinja +++ b/moku/templates/moku/signup.jinja @@ -16,14 +16,14 @@ {{ form.email.help_text }}
- + - {{ form.password1.help_text|safe }} + {% trans %}make a secure password that you've never used before!{% endtrans %}
- + - {{ form.password2.help_text }} + {% trans %}just type the password again to confirm.{% endtrans %}