Merge pull request 'chore: remove debug logging' (#6) from feat/login-methods into goutamnextflow

This commit was merged in pull request #6.
This commit is contained in:
2026-07-12 20:47:30 +00:00
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -85,9 +85,8 @@ export function LoginFlow() {
replace("identify");
}
})
.catch((e) => {
console.error("[oauth] Google sign-in failed:", e);
setFlash(`Google sign-in didn't complete: ${(e as Error)?.message ?? "please try again"}`);
.catch(() => {
setFlash("Google sign-in didn't complete. Please try again.");
replace("identify");
});
}, [ready, completeOAuthLogin, router]);
+2 -2
View File
@@ -97,8 +97,8 @@ export function RegisterFlow() {
mailingSameAsRegistered: mailingSame,
consentTerms: termsOk, consentPrivacy: privacyOk,
});
} catch (e) {
console.warn("crm.account.register failed (continuing):", e);
} catch {
// Non-fatal: the auth account already exists; the domain profile can be filled in later.
}
}
router.push("/dashboard");