Skip to content
This repository was archived by the owner on Oct 22, 2019. It is now read-only.

Commit 792537d

Browse files
committed
Go back to previous commit.
1 parent 2dba684 commit 792537d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

userena/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,8 @@ def password_change(request, username, template_name='userena/password_form.html
610610

611611
if request.method == "POST":
612612
form = pass_form(user=user, data=request.POST)
613-
if form.is_valid() and ( len(request.POST.get('new_password1')) >= userena_settings.USERENA_PASSWORD_MIN_LENGTH):
613+
#if form.is_valid() and ( len(request.POST.get('new_password1')) >= userena_settings.USERENA_PASSWORD_MIN_LENGTH):
614+
if form.is_valid():
614615
form.save()
615616

616617
# Send a signal that the password has changed

0 commit comments

Comments
 (0)