Skip to content

Commit

Permalink
Revert "Fixed private mode cookie for local development (TryGhost#17938
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldlangeveld authored and yunaycompany committed Dec 11, 2023
1 parent 333e388 commit ccda6cd
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 ccda6cd

Please sign in to comment.