From 8ecaeb4af91441b86ddca880f0bd059cd9ea138b Mon Sep 17 00:00:00 2001 From: Thibaut Patel Date: Thu, 28 Jan 2021 15:28:38 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20Renamed=20the=20cookie=20used=20?= =?UTF-8?q?for=20the=20private=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit issue https://github.com/TryGhost/Ghost/issues/12564 - This change means users who have already entered the site password will need to do it again --- core/frontend/apps/private-blogging/lib/middleware.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/frontend/apps/private-blogging/lib/middleware.js b/core/frontend/apps/private-blogging/lib/middleware.js index 75d4c60a99..37a584a7a2 100644 --- a/core/frontend/apps/private-blogging/lib/middleware.js +++ b/core/frontend/apps/private-blogging/lib/middleware.js @@ -47,6 +47,7 @@ const privateBlogging = { res.isPrivateBlog = true; return session({ + name: 'ghost-private', maxAge: constants.ONE_MONTH_MS, signed: false, sameSite: 'none'