Fix the plain-text cookie
This commit is contained in:
parent
3d29910268
commit
0408a92671
|
@ -26,7 +26,8 @@
|
|||
<script>
|
||||
function closeIt() {
|
||||
document.getElementById("gdpr").style.display = "none";
|
||||
document.cookie = "banner=seen; <%= $sessionLife %>;";
|
||||
document.cookie =
|
||||
"banner=seen; Max-Age=<%= $sessionLife %>; SameSite=Lax";
|
||||
}
|
||||
|
||||
function playIt() {
|
||||
|
|
Loading…
Reference in a new issue