When a user's password changes, they cannot login through services returning the error message "Wrong username or password."

I have tried 7.x-3.12 and dev versions of services.

I created a new user and tested with:
url: http://localhost/endpoint/user/login.json
The expected data was returned.

Then, I changed the password for the user and tried again with:
json: { "username":"user", "password":"newpassword" }
And recieved the error.

Deleting and recreating the user fixes the problem.

I have also tried setting Cookie and X-CSRF-Token to appropriate values but still cannot log in.

Changing other details, including username, still work.

Comments

kylebrowning’s picture

Does the site allow you to login with the new password at user/login?

john cook’s picture

@kylebrowning Yes, you can go to the site and log in with the new password. It only fails when trying through services.

kylebrowning’s picture

Status: Active » Closed (cannot reproduce)