diff --git a/src/main.js b/src/main.js index 0307adfd69326de12ca1a2c5ff9b048761959dcd..d38a01ac62494890055998ee58dcf5c13edb3a88 100644 --- a/src/main.js +++ b/src/main.js @@ -105,6 +105,7 @@ const updateOnlineStatus = () => { * Regularly updates the user status if using external auth to keep the frontend updated with backend. */ function handleLogout() { + store.dispatch('LOGOUT'); if (store.state.user) { store.commit('SET_USER', false); store.commit('SET_USER_PERMISSIONS', null);