diff --git a/frontend/src/App.vue b/frontend/src/App.vue index e7cdcf8..d7a61b5 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -5,7 +5,7 @@ - + @@ -44,9 +44,9 @@ onMounted(async () => { if (reset) { store.resetToken = reset // Remove query param to avoid lingering in history / clipboard - const targetPath = '/auth/' - const currentPath = location.pathname.endsWith('/') ? location.pathname : location.pathname + '/' - history.replaceState(null, '', currentPath.startsWith('/auth') ? '/auth/' : targetPath) + const targetPath = '/auth/' + const currentPath = location.pathname.endsWith('/') ? location.pathname : location.pathname + '/' + history.replaceState(null, '', currentPath.startsWith('/auth') ? '/auth/' : targetPath) } try { await store.loadUserInfo() diff --git a/frontend/src/admin/AdminApp.vue b/frontend/src/admin/AdminApp.vue index 81b3fdc..9cbb234 100644 --- a/frontend/src/admin/AdminApp.vue +++ b/frontend/src/admin/AdminApp.vue @@ -1,5 +1,6 @@ + + + + diff --git a/frontend/src/components/LoginView.vue b/frontend/src/components/LoginView.vue index 5579b8c..0c50804 100644 --- a/frontend/src/components/LoginView.vue +++ b/frontend/src/components/LoginView.vue @@ -17,6 +17,7 @@