Browse Source

fix(nc-gui): remove non-existing sign out api

pull/5458/head
Wing-Kam Wong 2 years ago
parent
commit
5036a5d27e
  1. 4
      packages/nc-gui/composables/useGlobal/actions.ts

4
packages/nc-gui/composables/useGlobal/actions.ts

@ -10,10 +10,6 @@ export function useGlobalActions(state: State): Actions {
const signOut: Actions['signOut'] = async () => {
state.token.value = null
state.user.value = null
try {
const nuxtApp = useNuxtApp()
await nuxtApp.$api.auth.signout()
} catch {}
}
/** Sign in by setting the token in localStorage */

Loading…
Cancel
Save