Skip to content

Commit

Permalink
Merge pull request #355 from sholladay/master
Browse files Browse the repository at this point in the history
Set SameSite=Strict for improved security
  • Loading branch information
AdriVanHoudt committed Apr 3, 2018
2 parents 73dfcb2 + c9a6416 commit 15059f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ internals.implementation = function (server, options) {
password: settings.password,
isSecure: settings.isSecure !== false, // Defaults to true
isHttpOnly: settings.isHttpOnly !== false, // Defaults to true
isSameSite: false,
isSameSite: 'Strict',
ttl: settings.ttl,
domain: settings.domain,
ignoreErrors: true,
Expand Down

0 comments on commit 15059f9

Please sign in to comment.