Skip to content

Commit

Permalink
Merge pull request #241 from localgovdrupal/1.x
Browse files Browse the repository at this point in the history
1.5.5
  • Loading branch information
andybroomfield committed Mar 6, 2023
2 parents a7b4c32 + 183c2d9 commit fffb04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/alert_banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
function setAlertBannerHideCookie(cookie_tokens, token) {
cookie_tokens.push(token);
var new_cookie = cookie_tokens.join('+')
cookies.set('hide-alert-banner-token', new_cookie, { path: '/', expires: 30 });
cookies.set('hide-alert-banner-token', new_cookie, { path: '/', expires: 30, SameSite: 'Lax' });
}

$(document).ready(function() {
Expand Down

0 comments on commit fffb04a

Please sign in to comment.