• Reset the caller's password.

    import {Auth} from '@verdocs/js-sdk/Auth';

    const {success} = await Auth.resetPassword({ email });
    if (status !== 'OK') {
    window.alert(`Please check your email for instructions on how to reset your password.`);
    }

    Parameters

    Returns Promise<{
        success: boolean;
    }>