Closed Andresmena99 closed 2 years ago
Update
This issue can be solved by simply changing the way the cookie is set, with the following line:
document.cookie = name + "=" + value + expires + ";path=/; Secure;";
Would you mind opening a Pull Request @Andresmena99 ?
I'm not using this project currently, so I won't be able to verify it's working properly...
I am getting the following warning message when using Firefox:
Cookie “cookielaw_accepted” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
The error is apparently in this line in the JavaScript code:
document.cookie = name + "=" + value + expires + "; path=/";
Thanks in advance.