diff --git a/core/core-frontend/src/views/login/index.vue b/core/core-frontend/src/views/login/index.vue index 83b14b8432..59082c2bb7 100644 --- a/core/core-frontend/src/views/login/index.vue +++ b/core/core-frontend/src/views/login/index.vue @@ -117,8 +117,12 @@ const handleLogin = () => { if (!xpackLoadFail.value && xpackInvalidPwd.value?.invokeMethod) { const param = { methodName: 'init', - args: () => { - duringLogin.value = false + args: r => { + duringLogin.value = !!r + if (r) { + const queryRedirectPath = getCurLocation() + router.push({ path: queryRedirectPath }) + } } } xpackInvalidPwd?.value.invokeMethod(param) diff --git a/de-xpack b/de-xpack index e55d5ef12d..a12eea394d 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit e55d5ef12d98a142487a29b62343332f4884a3a2 +Subproject commit a12eea394d8d5edf2941988819b08676e512a11e