From 2a7b51b9951909f3f40aa27f6e54b2e458c7018f Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Mon, 11 Aug 2025 01:52:04 +0200 Subject: [PATCH] Squash another cookie --- lib/www/server/lib/jwt.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/www/server/lib/jwt.js b/lib/www/server/lib/jwt.js index db33b36..1d53e70 100644 --- a/lib/www/server/lib/jwt.js +++ b/lib/www/server/lib/jwt.js @@ -46,10 +46,6 @@ function issue (payload, req, res) { if (token) { res.set("X-JWT", token); const expiry = payload.exp ? (new Date(payload.exp*1000)).toUTCString() : null; - const cookie = expiry - ? `JWT=${token}; path=/; SameSite=lax; expires=${expiry}` - : `JWT=${token}; path=/; SameSite=lax` - res.set("Set-Cookie", cookie); // For good measure } }