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

Commit

Permalink
Go back to previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsfakianakis committed Aug 18, 2016
1 parent 2dba684 commit 792537d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion userena/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 792537d

Please sign in to comment.