Skip to main content

Type Alias: ForgotPasswordSubmit()

ForgotPasswordSubmit: (email, password, code) => Promise<SuccessResponse | AuthError>

Submit new password for account Calls forgotPasswordSubmit method from Auth module from @aws-amplify/auth package.

Parameters

email: string

User email

password: string

New password

code: string

Forget password confirmation code from email

Returns

Promise<SuccessResponse | AuthError>

Success information or error