FIX: dav_auth: new passwords were limited to 12 chars because of the SetPasswordForm.

This commit is contained in:
2019-03-12 18:10:24 +01:00
parent be7d93a34e
commit c38cc0d6e5

View File

@@ -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,