diff --git a/gramjs/client/auth.ts b/gramjs/client/auth.ts index 6dfa6d2d..b4bf2838 100644 --- a/gramjs/client/auth.ts +++ b/gramjs/client/auth.ts @@ -456,7 +456,7 @@ export async function signInWithPassword( } } if (emptyPassword) { - throw new Error("Account has 2FA enabled."); + throw new Error("Account has 2FA disabled."); } return undefined!; // Never reached (TypeScript fix) }