💡 Renamed the cookie used for the private mode

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
This commit is contained in:
Thibaut Patel 2021-01-28 15:28:38 +01:00 committed by Daniel Lockyer
parent 5d122c3c62
commit 8ecaeb4af9
No known key found for this signature in database
GPG Key ID: FFBC6FA2A6F6ABC1

View File

@ -47,6 +47,7 @@ const privateBlogging = {
res.isPrivateBlog = true;
return session({
name: 'ghost-private',
maxAge: constants.ONE_MONTH_MS,
signed: false,
sameSite: 'none'