fix a bug with resetting passwords

This commit is contained in:
rolux 2011-10-22 15:31:12 +00:00
commit 4266c4578b
3 changed files with 10 additions and 7 deletions

View file

@ -192,7 +192,7 @@ def resetPassword(request):
status: {'code': int, 'text': string}
data: {
errors: {
code: 'Invalid Code'
code: 'Incorrect Code'
}
user {
}
@ -226,7 +226,7 @@ def resetPassword(request):
else:
response = json_response({
'errors': {
'code': 'Invalid code'
'code': 'Incorrect code'
}
})