update instance
This commit is contained in:
1 parent
ee99215af4
commit
63b38f177b
2 files changed
+20
No files matched your search
@@ -36,6 +36,11 @@ const store = createStore({
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
resetAuth({ commit }) {
|
||||
commit('setRefreshToken', undefined);
|
||||
commit('setAccessToken', undefined);
|
||||
commit('setUser', undefined);
|
||||
},
|
||||
setRefreshToken({ commit }: ActionContext<IState, IState>, payload: string) {
|
||||
commit('setRefreshToken', payload);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user