Skip to content

Commit 753be2a

Browse files
ihor-svizievDen4ik
andauthored
Fix incorrect setting of the SameSite cookie param
Fix typo Co-authored-by: Denis Kopylov <dkopylov@magenius.team>
1 parent 35570b3 commit 753be2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageCache/view/frontend/web/js/form-key-provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define(function () {
1919
secure,
2020
date = new Date(),
2121
cookiesConfig = window.cookiesConfig || {},
22-
isSecure = !!cookiesConfig.secure;
22+
isSecure = !!cookiesConfig.secure,
2323
samesite = cookiesConfig.samesite || 'lax';
2424

2525
date.setTime(date.getTime() + 86400000);

0 commit comments

Comments
 (0)