Call to client for password check incorrectly passed user instead

of user.id
This commit is contained in:
Adam Shimali
2016-01-28 12:31:24 +00:00
parent 5dccba56c9
commit 91465520a0
2 changed files with 3 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ def _get_and_verify_user(email_address, password):
return None
elif not user.is_active():
return None
elif not users_dao.verify_password(user, password):
elif not users_dao.verify_password(user.id, password):
return None
else:
return user