Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix indentation error

  • Loading branch information...
commit f3b59e730a522b0b38e30ad69a49c1be42d6d295 1 parent 56a4905
@yashh yashh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 accounts/forms.py
View
4 accounts/forms.py
@@ -41,6 +41,6 @@ def clean(self):
user_password = redis_ob.hget("user:%d" %user_id, "password")
# mimic the django auth password match code
salt, hsh = user_password.split("$")
- if not hsh == sha_constructor(salt, self.cleaned_data['password']):
- raise forms.ValidationError("Invalid user credentials")
+ if not hsh == sha_constructor(salt, self.cleaned_data['password']):
+ raise forms.ValidationError("Invalid user credentials")
Please sign in to comment.
Something went wrong with that request. Please try again.