Loading backend/src/lib/api.ts +1 −0 Original line number Diff line number Diff line Loading @@ -255,6 +255,7 @@ app.post("/login/step/verify", async (req, res) => { const user = await APub.lookupActor(session.user_sub); if (!user) throw new Error("Code verification: user is not an actor!"); await prisma.authSession.delete({ where: { id: session.id } }); req.session.user = { sub: user.id!.toString(), handle: session.user_sub as any, Loading Loading
backend/src/lib/api.ts +1 −0 Original line number Diff line number Diff line Loading @@ -255,6 +255,7 @@ app.post("/login/step/verify", async (req, res) => { const user = await APub.lookupActor(session.user_sub); if (!user) throw new Error("Code verification: user is not an actor!"); await prisma.authSession.delete({ where: { id: session.id } }); req.session.user = { sub: user.id!.toString(), handle: session.user_sub as any, Loading