set expiredate for cookies to infinity
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good

This commit is contained in:
2022-02-21 05:29:42 +01:00
parent 800e45fe96
commit 9c7834f443

View File

@@ -39,7 +39,7 @@ export default {
const handleConsent = () => {
window._paq.push(['rememberCookieConsentGiven'])
cookies.set('consent', 'given')
cookies.set('consent', 'given', Infinity)
if (tracking.value){
window._paq.push(['rememberConsentGiven'])