This commit is contained in:
nikolark committed 2011-10-22 21:07:20 +02:00
1 parent 3cef5a760d
commit d9ef8a1714
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ class LDAPSetPasswordForm(SetPasswordForm):
raw_password = self.cleaned_data.get('new_password1')
# Validation here?
MinLengthValidator(8)(raw_password)
PasswordValidator(raw_passwords)
PasswordValidator(raw_password)
return raw_password
class LDAPPasswordChangeForm(LDAPSetPasswordForm):