diff --git a/ui/src/router/chat/index.ts b/ui/src/router/chat/index.ts
index 1387e3e0a..74fe54dc2 100644
--- a/ui/src/router/chat/index.ts
+++ b/ui/src/router/chat/index.ts
@@ -71,12 +71,13 @@ router.beforeEach(
params: {
accessToken: to.params.accessToken,
},
+ query: to.query,
})
}
return
}
if (p_token) {
- next({ ...to, query: {} })
+ next({ ...to, query: to.query })
} else {
next()
}
diff --git a/ui/src/views/chat/user-login/index.vue b/ui/src/views/chat/user-login/index.vue
index 7a14cfb5d..d0a9dbe2c 100644
--- a/ui/src/views/chat/user-login/index.vue
+++ b/ui/src/views/chat/user-login/index.vue
@@ -10,9 +10,9 @@
class="mr-8"
style="background: none"
>
-
+
-