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