forked from github/dataease
feat: 增加自定义登出路径
This commit is contained in:
parent
b835d953a0
commit
185c6c7576
@ -30,6 +30,9 @@ export const logoutHandler = (justClean?: boolean) => {
|
||||
window.location.href = '/oidcbi/oidc/logout'
|
||||
return
|
||||
}
|
||||
if (wsCache.get('custom_auth_logout_url')) {
|
||||
window.location.href = wsCache.get('custom_auth_logout_url')
|
||||
}
|
||||
router.push(justClean ? queryRedirectPath : `/login?redirect=${queryRedirectPath}`)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user