From 792537dff910cb59a8cd07ba0abecca63a53721e Mon Sep 17 00:00:00 2001 From: Georgios Sfakianakis Date: Thu, 18 Aug 2016 21:30:27 +0200 Subject: [PATCH] Go back to previous commit. --- userena/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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