Change password
This function lets you change your password with a simple function.
More work afterwards
By changing the password you will have to update your code to reflect the change
Usage
You will have to pass in 2 arguments
- oldPassword
This is your old password (the one you used to log in)
- newPassword
This is the password you want it to change to.
let data = wrapper.user.settings.update.password(oldPassword, newPassword)
Response
- Success
- Failure
The response will be an empty array
Response will contain an object detailing the failure