Skip to content

Commit

Permalink
Update cookie.js (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
xitude authored and stuyam committed Jan 13, 2020
1 parent 158a47e commit 7606bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var Cookie = {
date.setTime(date.getTime()+(minutes*60*1000));
expires = "; expires="+date.toGMTString();
}
document.cookie = this.prefix() + name + "=" + value + expires + "; path=" + path;
document.cookie = this.prefix() + name + "=" + value + expires + "; path=" + path +"; SameSite=Lax";
},

get(name) {
Expand Down

0 comments on commit 7606bb9

Please sign in to comment.