diff --git a/admin/src/main.js b/admin/src/main.js index 0f230e0a4..2a2f2d7a1 100644 --- a/admin/src/main.js +++ b/admin/src/main.js @@ -36,7 +36,7 @@ const authLink = new ApolloLink((operation, forward) => { if (response.errors && response.errors[0].message === '403.13 - Client certificate revoked') { response.errors[0].message = i18n.t('error.session-expired') store.dispatch('logout', null) - if (router.currentRoute.path !== '/not-found') router.push('/not-found') + if (router.currentRoute.path !== '/logout') router.push('/logout') return response } const newToken = operation.getContext().response.headers.get('token')