feathers-authentication-management
Version:
Adds sign up verification, forgotten password reset, and other capabilities to local feathers-authentication
4 lines (3 loc) • 368 B
TypeScript
import type { Params } from '@feathersjs/feathers';
import type { IdentifyUser, PasswordChangeOptions, SanitizedUser, NotifierOptions } from '../types';
export default function passwordChange(options: PasswordChangeOptions, identifyUser: IdentifyUser, oldPassword: string, password: string, notifierOptions?: NotifierOptions, params?: Params): Promise<SanitizedUser>;