You've already forked agentic-coding-workflow
fix(web): preserve next on 401, validate redirect target, catch navigation rejections
This commit is contained in:
@@ -29,7 +29,7 @@ async function onSelect(key: string) {
|
||||
await authApi.logout()
|
||||
} finally {
|
||||
auth.clearSession()
|
||||
router.replace({ name: 'login' })
|
||||
router.replace({ name: 'login' }).catch(() => {})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user