We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb46378 commit d8ea446Copy full SHA for d8ea446
packages/auth/src/mfa/assertions/totp.ts
@@ -160,14 +160,13 @@ export class TotpMultiFactorAssertionImpl
160
): Promise<FinalizeMfaResponse> {
161
_assert(
162
typeof this.enrollmentId !== 'undefined'
163
- && typeof this.otp !== 'undefined'
164
- && typeof this.secret !== 'undefined',
+ && typeof this.otp !== 'undefined',
165
auth,
166
AuthErrorCode.ARGUMENT_ERROR
167
);
168
return finalizeSignInTotpMfa(auth, {
169
mfaPendingCredential,
170
- verificationCode: this.secret._makeTotpVerificationInfo(this.otp).verificationCode,
+ verificationCode: this.otp,
171
});
172
}
173
0 commit comments