Skip to content

Commit

Permalink
changed logout to be a post
Browse files Browse the repository at this point in the history
  • Loading branch information
rmmayo committed Jun 21, 2024
1 parent 0564d12 commit 713b210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/store/modules/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const actions = {
logout({ commit }) {
commit('clearAuthData');
commit('showUa', false, { root: true });
axios.get('/logout')
axios.post('/logout')
.then(() => {
router.replace('/skills-login');
});
Expand Down

0 comments on commit 713b210

Please sign in to comment.