We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119f678 commit 5616bc8Copy full SHA for 5616bc8
ui/src/router/chat/index.ts
@@ -25,7 +25,7 @@ router.beforeEach(
25
return
26
}
27
const { chatUser } = useStore()
28
- const notAuthRouteNameList = ['UserLogin']
+ const notAuthRouteNameList = ['user_login']
29
if (!notAuthRouteNameList.includes(to.name ? to.name.toString() : '')) {
30
if (to.params && to.params.accessToken) {
31
chatUser.setAccessToken(to.params.accessToken.toString())
@@ -40,7 +40,7 @@ router.beforeEach(
40
if (authentication) {
41
if (!token) {
42
next({
43
- name: 'UserLogin',
+ name: 'user_login',
44
params: {
45
accessToken: to.params.accessToken,
46
},
0 commit comments