chore(auth): remove debug logging from OAuth + registration error paths

This commit is contained in:
tanweer919
2026-07-13 02:17:22 +05:30
parent 0e8a207640
commit 5186497c50
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]);