Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Properly remove the cookie to by adding Path=/

天舟13426e2f12fa
diff --git a/frontend/src/utils/util.ts b/frontend/src/utils/util.ts
index a80bb68704..6772b668f3 100644
--- a/frontend/src/utils/util.ts
+++ b/frontend/src/utils/util.ts
@@ -141,7 +141,7 @@ export function removeCookie(name: string) {
for (var i = 0; i < list.length; i++) {
const parts = list[i].split("=");
if (parts[0].trim() == name) {
- newList.push(`${name}=;expires=Thu, 01 Jan 1970 00:00:00 GMT`);
+ newList.push(`${name}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/`);
} else {
newList.push(list[i]);
}