{"action":"created","issue":{"url":"https://api.github.com/repos/auth0/auth0.js/issues/380","repository_url":"https://api.github.com/repos/auth0/auth0.js","labels_url":"https://api.github.com/repos/auth0/auth0.js/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/auth0/auth0.js/issues/380/comments","events_url":"https://api.github.com/repos/auth0/auth0.js/issues/380/events","html_url":"https://github.com/auth0/auth0.js/issues/380","id":212755776,"number":380,"title":"changepassword method always return \"We've just sent you an email to reset your password.\"","user":{"login":"VaizardLLL","id":10226034,"avatar_url":"https://avatars2.githubusercontent.com/u/10226034?v=3","gravatar_id":"","url":"https://api.github.com/users/VaizardLLL","html_url":"https://github.com/VaizardLLL","followers_url":"https://api.github.com/users/VaizardLLL/followers","following_url":"https://api.github.com/users/VaizardLLL/following{/other_user}","gists_url":"https://api.github.com/users/VaizardLLL/gists{/gist_id}","starred_url":"https://api.github.com/users/VaizardLLL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VaizardLLL/subscriptions","organizations_url":"https://api.github.com/users/VaizardLLL/orgs","repos_url":"https://api.github.com/users/VaizardLLL/repos","events_url":"https://api.github.com/users/VaizardLLL/events{/privacy}","received_events_url":"https://api.github.com/users/VaizardLLL/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-08T14:52:50Z","updated_at":"2017-03-09T00:05:43Z","closed_at":"2017-03-09T00:05:43Z","body":"Hi, there!\r\n\r\nFirst, I'm using version *http://cdn.auth0.com/js/auth0/8.3.0/auth0.min.js* but I also got the same error with version *8.0.0*. I'm also using Angular2 with my SPA\r\n\r\nEvery time that I use the function **changepassword**, I got the same response: **\"We've just sent you an email to reset your password.\"** even when the email doesn't exist. If I consult the auth0 portal log, I can see the error **\"User does not exist.\"**\r\n\r\nIf I send a correct email, it's all good. I got the email with the link to change the password.\r\n\r\nHere is the code I'm using:\r\n\r\n```typescript\r\npublic changePassword(email: string) {\r\n    this.auth0.changePassword({\r\n      connection: 'MyConn',\r\n      email: email\r\n    }, (err, resp) => {\r\n      if (err) {\r\n        console.log(err.message);\r\n      }\r\n      else {\r\n        console.log(resp);\r\n      }\r\n    });\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/auth0/auth0.js/issues/comments/285211273","html_url":"https://github.com/auth0/auth0.js/issues/380#issuecomment-285211273","issue_url":"https://api.github.com/repos/auth0/auth0.js/issues/380","id":285211273,"user":{"login":"hzalaz","id":895992,"avatar_url":"https://avatars0.githubusercontent.com/u/895992?v=3","gravatar_id":"","url":"https://api.github.com/users/hzalaz","html_url":"https://github.com/hzalaz","followers_url":"https://api.github.com/users/hzalaz/followers","following_url":"https://api.github.com/users/hzalaz/following{/other_user}","gists_url":"https://api.github.com/users/hzalaz/gists{/gist_id}","starred_url":"https://api.github.com/users/hzalaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzalaz/subscriptions","organizations_url":"https://api.github.com/users/hzalaz/orgs","repos_url":"https://api.github.com/users/hzalaz/repos","events_url":"https://api.github.com/users/hzalaz/events{/privacy}","received_events_url":"https://api.github.com/users/hzalaz/received_events","type":"User","site_admin":false},"created_at":"2017-03-09T00:05:43Z","updated_at":"2017-03-09T00:05:43Z","body":"Its the intended behaviour @VaizardLLL"}}
{"actor":{"display_login":"hzalaz"}}