forked from CSGOWTF/csgowtf
set expiredate for cookies to infinity
This commit is contained in:
@@ -39,7 +39,7 @@ export default {
|
|||||||
|
|
||||||
const handleConsent = () => {
|
const handleConsent = () => {
|
||||||
window._paq.push(['rememberCookieConsentGiven'])
|
window._paq.push(['rememberCookieConsentGiven'])
|
||||||
cookies.set('consent', 'given')
|
cookies.set('consent', 'given', Infinity)
|
||||||
|
|
||||||
if (tracking.value){
|
if (tracking.value){
|
||||||
window._paq.push(['rememberConsentGiven'])
|
window._paq.push(['rememberConsentGiven'])
|
||||||
|
Reference in New Issue
Block a user