fix and update

This commit is contained in:
lendry
2026-07-07 08:23:47 +03:00
parent cddb29fef6
commit 881e5d764b

View File

@@ -179,7 +179,7 @@ export async function attachFedcmCookieFromAuthResult(
} }
const userId = data.user?.id; const userId = data.user?.id;
if (!userId) return; if (!userId || !data.sessionId) return;
await setFedcmSessionCookie(res, jwt, { await setFedcmSessionCookie(res, jwt, {
sub: userId, sub: userId,