From 1690743841bb252a3737f43287d66428cf0d2c71 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Sat, 25 Oct 2014 21:19:42 +0200 Subject: [PATCH] Restore password inputs. see #585 --- modoboa/extensions/admin/forms/account.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modoboa/extensions/admin/forms/account.py b/modoboa/extensions/admin/forms/account.py index f6fc9b4d3..6e6045652 100644 --- a/modoboa/extensions/admin/forms/account.py +++ b/modoboa/extensions/admin/forms/account.py @@ -30,11 +30,14 @@ class AccountFormGeneral(forms.ModelForm): help_text=ugettext_lazy("What level of permission this user will have") ) password1 = forms.CharField( - label=ugettext_lazy("Password") + label=ugettext_lazy("Password"), widget=forms.widgets.PasswordInput ) password2 = forms.CharField( label=ugettext_lazy("Confirmation"), - help_text=ugettext_lazy("Enter the same password as above, for verification.") + widget=forms.widgets.PasswordInput, + help_text=ugettext_lazy( + "Enter the same password as above, for verification." + ) ) class Meta: