fix: Require mfa code for password change if its enabled (#10341)

This commit is contained in:
Tomi Turtiainen
2024-08-12 17:08:55 +03:00
committed by GitHub
parent 2580a5e19e
commit 9d7caacc69
10 changed files with 141 additions and 26 deletions

View File

@@ -224,7 +224,7 @@ export declare namespace MeRequest {
export type Password = AuthenticatedRequest<
{},
{},
{ currentPassword: string; newPassword: string; token?: string }
{ currentPassword: string; newPassword: string; mfaCode?: string }
>;
export type SurveyAnswers = AuthenticatedRequest<{}, {}, Record<string, string> | {}>;
}