Correct decoding of JSON response
The old version assumed `json_decode` would return an associative array. While it can do so if an extra option is specified, the default behaviour is to return an object. Therefore, a successful password change resulted in an error while parsing the response. The new code is accessing the response as object instead. The method is now covered by a unit test.pull/5554/head
parent
f351b48771
commit
dd29ca1ee8
Loading…
Reference in New Issue