mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:47:08 +00:00
Move comment to right place
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user