mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-09 04:06:36 +00:00
set public next env vars from config
This commit is contained in:
@@ -118,7 +118,7 @@ export async function login(
|
||||
|
||||
const session = await lucia.createSession(existingUser.id, {});
|
||||
const cookie = lucia.createSessionCookie(session.id).serialize();
|
||||
logger.debug("Session cookie", JSON.stringify(cookie, null, 2));
|
||||
|
||||
res.appendHeader(
|
||||
"Set-Cookie",
|
||||
cookie
|
||||
|
||||
Reference in New Issue
Block a user