Skip to content

Commit

Permalink
Adding or false
Browse files Browse the repository at this point in the history
  • Loading branch information
vriken authored Dec 12, 2024
1 parent 0d9620f commit f955518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion template.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ function storeClientId(eventModel) {
samesite: getCookieType(eventModel),
secure: true,
'max-age': 63072000, // 2 years
httpOnly: data.httpOnlyCookie,
httpOnly: data.httpOnlyCookie || false,
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion template.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ function storeClientId(eventModel) {
samesite: getCookieType(eventModel),
secure: true,
'max-age': 63072000, // 2 years
httpOnly: false,
httpOnly: data.httpOnlyCookie || false
});
}
}
Expand Down

0 comments on commit f955518

Please sign in to comment.