Skip to content

Commit

Permalink
Revert "Fixed private mode cookie for local development (#17938)"
Browse files Browse the repository at this point in the history
This reverts commit f303eee.
  • Loading branch information
ronaldlangeveld committed Dec 11, 2023
1 parent 5cb3ec6 commit 3e3e3ef
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ const privateBlogging = {
name: 'ghost-private',
maxAge: constants.ONE_MONTH_MS,
signed: false,
sameSite: urlUtils.isSSL(config.get('url')) ? 'none' : 'lax',
secure: urlUtils.isSSL(config.get('url'))
sameSite: 'none'
})(req, res, next);
},

Expand Down

0 comments on commit 3e3e3ef

Please sign in to comment.