Improvement of logout. Added Sacrital Service. Added website link for event places and direct link to other websites in worship overview
This commit is contained in:
@@ -24,7 +24,7 @@ axios.interceptors.response.use(
|
||||
},
|
||||
error => {
|
||||
if (error.response && error.response.status === 401) {
|
||||
store.commit('logout');
|
||||
store.dispatch('logout');
|
||||
router.push('/');
|
||||
}
|
||||
return Promise.reject(error);
|
||||
|
||||
Reference in New Issue
Block a user