Permalink
Browse files

fix indentation error

  • Loading branch information...
yashh committed Aug 14, 2010
1 parent 56a4905 commit f3b59e730a522b0b38e30ad69a49c1be42d6d295
Showing with 2 additions and 2 deletions.
  1. +2 −2 accounts/forms.py
View
@@ -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")

0 comments on commit f3b59e7

Please sign in to comment.