You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseUserFactoryParams > changePassword

UseUserFactoryParams.changePassword property

Signature:

changePassword: (context: Context, params: {
        currentUser: USER;
        currentPassword: string;
        newPassword: string;
        customQuery?: CustomQuery;
    }) => Promise<USER>;