@luckystack/login 0.10.2 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1649,7 +1649,7 @@ var verifyTwoFactorChallenge = async (input) => {
1649
1649
  return { status: false, reason: "login.twoFactorChallengeExpired" };
1650
1650
  }
1651
1651
  const method = input.method ?? "totp";
1652
- let verified = false;
1652
+ let verified;
1653
1653
  if (method === "totp") {
1654
1654
  verified = await verifyTotpForUser(user, input.code, true);
1655
1655
  } else if (method === "email-code") {