diff --git a/packages/auth-server/components/app/nav.vue b/packages/auth-server/components/app/nav.vue index e6c0581e..9f62d41f 100644 --- a/packages/auth-server/components/app/nav.vue +++ b/packages/auth-server/components/app/nav.vue @@ -41,7 +41,7 @@
{ watch(windowWidth, checkWidths); -const { logout: _logout } = useAccountStore(); +const { logout } = useAccountStore(); -const logout = () => { - _logout(); +const logoutAndRedirect = () => { + logout(); navigateTo("/"); };