diff --git a/dav_auth/forms.py b/dav_auth/forms.py index 826d43c..d46ce6c 100644 --- a/dav_auth/forms.py +++ b/dav_auth/forms.py @@ -25,11 +25,9 @@ class LoginForm(auth_forms.AuthenticationForm): class SetPasswordForm(forms.Form): - new_password = forms.CharField(max_length=12, - label=_(u'Neues Passwort'), + new_password = forms.CharField(label=_(u'Neues Passwort'), widget=forms.PasswordInput) - new_password_repeat = forms.CharField(max_length=12, - label=_(u'Neues Passwort wiederholen'), + new_password_repeat = forms.CharField(label=_(u'Neues Passwort wiederholen'), widget=forms.PasswordInput) send_password_mail = forms.BooleanField(required=False, initial=False,