This commit is contained in:
eric
2026-03-13 06:03:05 -05:00
parent 9639034542
commit 52b02da94f

View File

@@ -267,7 +267,7 @@ export default function Home() {
}
const { pbSaveAuth } = await import("@/app/lib/pocketbase");
pbSaveAuth(data.token, data.record);
pbSaveAuth(data.token, { id: data.record.id, email: data.record.email ?? normalizedEmail });
const anonymousUserId =
(typeof data?.anonymousUserId === "string" &&