diff --git a/dashboard/src/stores/auth.ts b/dashboard/src/stores/auth.ts index 4503a1219..d99c2df5c 100644 --- a/dashboard/src/stores/auth.ts +++ b/dashboard/src/stores/auth.ts @@ -32,7 +32,7 @@ export const useAuthStore = defineStore({ }, logout() { this.username = ''; - localStorage.removeItem('username'); + localStorage.removeItem('user'); localStorage.removeItem('token'); router.push('/auth/login'); },