From c38cc0d6e554a724c0c95c16db758b0e0d0e7d7a Mon Sep 17 00:00:00 2001 From: Jens Kleineheismann Date: Tue, 12 Mar 2019 18:10:24 +0100 Subject: [PATCH] FIX: dav_auth: new passwords were limited to 12 chars because of the SetPasswordForm. --- dav_auth/forms.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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,