This commit is contained in:
@@ -42,7 +42,9 @@ export function processLogin(response) {
|
||||
}
|
||||
|
||||
export function processLogout() {
|
||||
store.commit("logItem", "auth::processLogout -> User logged out");
|
||||
if (store.state.authenticated) {
|
||||
store.commit("logItem", "auth::processLogout -> User logged out");
|
||||
}
|
||||
store.commit("logout");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user