FIX: dav_auth: new passwords were limited to 12 chars because of the SetPasswordForm.
This commit is contained in:
@@ -25,11 +25,9 @@ class LoginForm(auth_forms.AuthenticationForm):
|
|||||||
|
|
||||||
|
|
||||||
class SetPasswordForm(forms.Form):
|
class SetPasswordForm(forms.Form):
|
||||||
new_password = forms.CharField(max_length=12,
|
new_password = forms.CharField(label=_(u'Neues Passwort'),
|
||||||
label=_(u'Neues Passwort'),
|
|
||||||
widget=forms.PasswordInput)
|
widget=forms.PasswordInput)
|
||||||
new_password_repeat = forms.CharField(max_length=12,
|
new_password_repeat = forms.CharField(label=_(u'Neues Passwort wiederholen'),
|
||||||
label=_(u'Neues Passwort wiederholen'),
|
|
||||||
widget=forms.PasswordInput)
|
widget=forms.PasswordInput)
|
||||||
send_password_mail = forms.BooleanField(required=False,
|
send_password_mail = forms.BooleanField(required=False,
|
||||||
initial=False,
|
initial=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user