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

Home > @vue-storefront/core > UseForgotPassword > setNew

UseForgotPassword.setNew() method

Signature:

setNew(params: ComposableFunctionArgs<{
        tokenValue: string;
        newPassword: string;
    }>): Promise<void>;

Parameters

Parameter Type Description
params ComposableFunctionArgs<{ tokenValue: string; newPassword: string; }>

Returns:

Promise<void>