We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0eb582 commit 553faa5Copy full SHA for 553faa5
1 file changed
frontend/src/router/watch.ts
@@ -14,6 +14,10 @@ export const watchRouter = (router: any) => {
14
await loadXpackStatic()
15
await appearanceStore.setAppearance()
16
LicenseGenerator.generateRouters(router)
17
+ if (to.path.startsWith('/login') && userStore.getUid) {
18
+ next('/')
19
+ return
20
+ }
21
if (assistantWhiteList.includes(to.path)) {
22
next()
23
return
0 commit comments