Move comment to right place

This commit is contained in:
D. Berge
2021-09-28 17:30:48 +02:00
parent 454094b187
commit e267440711

View File

@@ -18,8 +18,8 @@ async function login ({commit, dispatch}, loginRequest) {
async function logout ({commit, dispatch}) {
commit('setCookie', null);
commit('setUser', null);
await dispatch('api', ["/logout"]);
// Should delete JWT cookie
await dispatch('api', ["/logout"]);
}
function browserCookie (state) {