diff --git a/frontend/src/stores/auth.js b/frontend/src/stores/auth.js index 76c8782..57f086a 100644 --- a/frontend/src/stores/auth.js +++ b/frontend/src/stores/auth.js @@ -130,8 +130,7 @@ export const useAuthStore = defineStore('auth', { async logout() { try { await fetch('/auth/api/logout', {method: 'POST'}) - this.userInfo = null - if (this.restrictedMode) location.reload() + location.reload() } catch (error) { console.error('Logout error:', error) this.showMessage(error.message, 'error')