MCPcopy Create free account
hub / github.com/linuxfoundation/crowd.dev / doSignout

Function doSignout

frontend/src/modules/auth/store/actions.js:146–153  ·  view source on GitHub ↗
({ commit })

Source from the content-addressed store, hash-verified

144 },
145
146 async doSignout({ commit }) {
147 commit('AUTH_START');
148 AuthService.signout();
149 commit('AUTH_SUCCESS', {
150 currentUser: null,
151 });
152 router.push('/auth/signin');
153 },
154
155 doRefreshCurrentUser({ commit }) {
156 const token = AuthToken.get();

Callers

nothing calls this directly

Calls 1

signoutMethod · 0.80

Tested by

no test coverage detected