From 354fc6868d3549ee5d2997e82a47decef1f343fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=20=E6=9F=8F?= Date: Sat, 4 Nov 2023 17:15:17 +0900 Subject: [PATCH] remove id from localStorage --- frontend/src/stores/useAuthStore.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/stores/useAuthStore.ts b/frontend/src/stores/useAuthStore.ts index c071af7..ab48502 100644 --- a/frontend/src/stores/useAuthStore.ts +++ b/frontend/src/stores/useAuthStore.ts @@ -38,7 +38,6 @@ export const useAuthStore = defineStore({ logout() { this.token = null; localStorage.removeItem('token'); - localStorage.removeItem('id'); localStorage.removeItem('name'); localStorage.removeItem('domain'); Router.push('/login');