mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 11:32:57 +08:00
fix(X-Pack): oidc退出登录报错
This commit is contained in:
parent
16a1e6ac88
commit
540229f2f3
@ -27,6 +27,7 @@ export const logoutHandler = (justClean?: boolean) => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (wsCache.get('out_auth_platform') === 'oidc') {
|
if (wsCache.get('out_auth_platform') === 'oidc') {
|
||||||
|
localStorage.removeItem('out_auth_platform')
|
||||||
window.location.href = '/oidcbi/oidc/logout'
|
window.location.href = '/oidcbi/oidc/logout'
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user