fix: preserve codex workspaces and clarify oauth guidance

This commit is contained in:
ciat-777
2026-03-17 19:03:36 +08:00
parent ebae2846b2
commit 965ded8960
4 changed files with 243 additions and 48 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ async function findExistingOauthAccount(input: {
if (byKey) return byKey;
}
if (email) {
if (!accountKey && email) {
const byEmail = await db.select().from(schema.accounts).where(and(
eq(schema.accounts.oauthProvider, input.provider),
eq(schema.accounts.username, email),