Skip to content

Commit adbb31d

Browse files
committed
added back otp check
1 parent 69adf36 commit adbb31d

File tree

1 file changed

+1
-1
lines changed
  • packages/auth/src/mfa/assertions

1 file changed

+1
-1
lines changed

packages/auth/src/mfa/assertions/totp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export class TotpMultiFactorAssertionImpl
162162
mfaPendingCredential: string
163163
): Promise<FinalizeMfaResponse> {
164164
_assert(
165-
this.enrollmentId !== undefined,
165+
this.enrollmentId !== undefined && this.otp !== undefined,
166166
auth,
167167
AuthErrorCode.ARGUMENT_ERROR
168168
);

0 commit comments

Comments
 (0)