diff --git a/api/web/src/App.vue b/api/web/src/App.vue index 97b59ebe4..79e7c43f5 100644 --- a/api/web/src/App.vue +++ b/api/web/src/App.vue @@ -208,16 +208,12 @@ export default defineComponent({ this.err = e.reason; }); - if (status === 'empty') { + if (status === 'unconfigured') { delete localStorage.token; this.$router.push("/configure"); } else { if (localStorage.token) { await this.refreshLogin(); - - if (status === 'unconfigured') { - this.$router.push('/admin'); - } } else if (this.$route.name !== 'login') { this.routeLogin(); }