Merge pull request #8530 from dataease/pr@dev-v2@feat_custom_logout_path
feat: 增加自定义登出路径
This commit is contained in:
commit
6f481333c3
@ -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