diff --git a/userena/views.py b/userena/views.py index 982e4774..aa690aec 100644 --- a/userena/views.py +++ b/userena/views.py @@ -610,7 +610,8 @@ def password_change(request, username, template_name='userena/password_form.html if request.method == "POST": form = pass_form(user=user, data=request.POST) - if form.is_valid() and ( len(request.POST.get('new_password1')) >= userena_settings.USERENA_PASSWORD_MIN_LENGTH): + #if form.is_valid() and ( len(request.POST.get('new_password1')) >= userena_settings.USERENA_PASSWORD_MIN_LENGTH): + if form.is_valid(): form.save() # Send a signal that the password has changed