lint issue

This commit is contained in:
Harsh Mahajan
2025-09-13 12:11:10 +05:30
parent aeb1e1f1df
commit fee3ac31af
@@ -15,12 +15,12 @@
[AuthenticationFactor.Phone]: factors.phone,
[AuthenticationFactor.Recoverycode]: factors.recoveryCode
};
if (!factorMap[challengeType]) {
throw new Error(`Authentication factor ${challengeType} is not enabled`);
}
}
challenge = await sdk.forConsole.account.createMFAChallenge({
factor: challengeType
});
@@ -88,7 +88,6 @@
}
}
export async function verifyCurrent() {
try {
return await verify(challenge, code, challengeType, factors);