diff options
author | jessib <jessib@riseup.net> | 2013-03-05 10:16:41 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-03-05 10:16:41 -0800 |
commit | f0ffc65aa38473ef280ed80526691d588f14c8de (patch) | |
tree | 1df9d9900872cf2e97d5c27b4175816eff5cbf80 /users/test/integration/api/Readme.md | |
parent | 87c306ea212c01ecc8f98009def5971fc4d5af11 (diff) | |
parent | 27c16ccceffa1d8eaaf02612cf29a60bfe6ced01 (diff) |
Merge pull request #36 from leapcode/feature/limit_user_leak
When attempting to login, the error messages should not leak information...
Diffstat (limited to 'users/test/integration/api/Readme.md')
-rw-r--r-- | users/test/integration/api/Readme.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/integration/api/Readme.md b/users/test/integration/api/Readme.md index 3a91f3d..04363bd 100644 --- a/users/test/integration/api/Readme.md +++ b/users/test/integration/api/Readme.md @@ -19,5 +19,5 @@ POST: http://localhost:9292/sessions -> {"B":"1778367531e93a4c7713c76f67649f35a4211ebc520926ae8c3848cd66171651"} PUT: http://localhost:9292/sessions/SWQ055 {"M": "123ABC"} - -> {"field":"password","error":"wrong password"} + -> {"errors":[{"login":"Not a valid username/password combination"},{"password":"Not a valid username/password combination"}]} ``` |