diff --git a/frontend/src/stores/auth.js b/frontend/src/stores/auth.js index 57f086a..0688c1f 100644 --- a/frontend/src/stores/auth.js +++ b/frontend/src/stores/auth.js @@ -130,6 +130,7 @@ export const useAuthStore = defineStore('auth', { async logout() { try { await fetch('/auth/api/logout', {method: 'POST'}) + sessionStorage.clear() location.reload() } catch (error) { console.error('Logout error:', error)