From 0fbb4a865f4ccee0efefd450821f89b5d1450947 Mon Sep 17 00:00:00 2001 From: Yunochi Date: Mon, 13 Jan 2025 16:46:24 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EA=B3=84=EC=A0=95=20=EC=82=AD=EC=A0=9C?= =?UTF-8?q?=20=EC=9D=B4=ED=9B=84=20logout=20=ED=98=B8=EC=B6=9C=20(?= =?UTF-8?q?=ED=86=A0=ED=81=B0=20=EC=82=AD=EC=A0=9C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/main/settings/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/main/settings/page.tsx b/src/app/main/settings/page.tsx index 5a8e087..e3f46e7 100644 --- a/src/app/main/settings/page.tsx +++ b/src/app/main/settings/page.tsx @@ -167,6 +167,7 @@ export default function Settings() { if (res.ok) { localStorage.removeItem('user_handle'); localStorage.removeItem('last_token_refresh'); + await fetch('/api/web/logout'); window.location.replace('/'); } else { onApiError(res.status, res);