Skip to content

Commit 776a68a

Browse files
committed
domain/client sync
1 parent 0b06e34 commit 776a68a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/FusionAuthClient.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ export class FusionAuthClient {
118118
/**
119119
* Changes a user's password using the change password Id. This usually occurs after an email has been sent to the user
120120
* and they clicked on a link to reset their password.
121+
*
122+
* As of version 1.32.2, prefer sending the changePasswordId in the request body. To do this, omit the first parameter, and set
123+
* the value in the request body.
121124
*
122125
* @param {string} changePasswordId The change password Id used to find the user. This value is generated by FusionAuth once the change password workflow has been initiated.
123126
* @param {ChangePasswordRequest} request The change password request that contains all of the information used to change the password.
@@ -5345,6 +5348,7 @@ export enum ChangePasswordReason {
53455348
*/
53465349
export interface ChangePasswordRequest extends BaseEventRequest {
53475350
applicationId?: UUID;
5351+
changePasswordId?: string;
53485352
currentPassword?: string;
53495353
loginId?: string;
53505354
password?: string;
@@ -9038,6 +9042,7 @@ export interface TwoFactorStartRequest {
90389042
code?: string;
90399043
loginId?: string;
90409044
state?: Record<string, any>;
9045+
userId?: UUID;
90419046
}
90429047

90439048
/**

0 commit comments

Comments
 (0)