diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-10-05 00:44:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 00:44:04 +0300 |
commit | 9e10a150585522ca30ecdd275007a882a70c6df5 (patch) | |
tree | 0edd8766f71588cdb9c4ea49e9f43b9b1c27b346 /js/piwik.js | |
parent | 2aeeebe18b5bcd71073445ba97c6ce4b4f6252b5 (diff) |
Always set consent removed cookie even when cookies are disabled (#16507)
Diffstat (limited to 'js/piwik.js')
-rw-r--r-- | js/piwik.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js index 272dd7324a..54122acbb2 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -2389,7 +2389,7 @@ if (typeof window.Matomo !== 'object') { * Set cookie value */ function setCookie(cookieName, value, msToExpire, path, domain, isSecure) { - if (configCookiesDisabled) { + if (configCookiesDisabled && cookieName !== CONSENT_REMOVED_COOKIE_NAME) { return; } |