Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed logout

Blue Mousee70bdc0a5497
diff --git a/src/utils/cookie.js b/src/utils/cookie.js
index 989007646..5c7d15fb9 100644
--- a/src/utils/cookie.js
+++ b/src/utils/cookie.js
@@ -19,5 +19,6 @@ export const setCookie = (key, value, maxAge = 3600, sameSite = 'strict') => {
}
export const deleteCookie = (key) => {
+ document.cookie = `${key}=; max-age=0; path=/; SameSite=strict`
document.cookie = `${key}=; max-age=0; path=/; SameSite=strict${COOKIE_SUFFIX}`
}