Skip to content

changePassword ​

Overview ​

Changes the signed-in user's password.

Signature ​

changePassword(payload)

Parameters ​

NameTypeRequiredDescription
payloadobjectyesThe request body.

payload Properties ​

NameTypeRequiredDefaultDescription
new_password1stringThe new password.
new_password2stringThe new password again, for confirmation.
old_passwordstringThe current password.

Returns ​

Promise

The decoded response data.

Source ​

client/lib/stores/storeUser.js:459