Skip to content

Commit

Permalink
Revert "Fixed private mode cookie for local development (#17938)" (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldlangeveld committed Dec 11, 2023
1 parent 29f9322 commit c969dd1
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

1 comment on commit c969dd1

@ronaldlangeveld
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.