We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 158a47e commit 7606bb9Copy full SHA for 7606bb9
src/cookie.js
@@ -12,7 +12,7 @@ var Cookie = {
12
date.setTime(date.getTime()+(minutes*60*1000));
13
expires = "; expires="+date.toGMTString();
14
}
15
- document.cookie = this.prefix() + name + "=" + value + expires + "; path=" + path;
+ document.cookie = this.prefix() + name + "=" + value + expires + "; path=" + path +"; SameSite=Lax";
16
},
17
18
get(name) {
0 commit comments