set default SameSite attribute to "lax"

This commit is contained in:
2020-10-04 09:51:53 +02:00
parent 35e45c3125
commit cb93ae6387
4 changed files with 9 additions and 3 deletions

View File

@@ -424,7 +424,7 @@ CookieConsent.defaultProps = {
disableButtonStyles: false,
enableDeclineButton: false,
flipButtons: false,
sameSite: SAME_SITE_OPTIONS.NONE,
sameSite: SAME_SITE_OPTIONS.LAX,
ButtonComponent: ({ children, ...props }) => <button {...props}>{children}</button>,
overlay: false,
overlayClasses: "",