diff --git a/frontend/src/views/login/xpack/Handler.vue b/frontend/src/views/login/xpack/Handler.vue index 06f824d1..b14fba55 100644 --- a/frontend/src/views/login/xpack/Handler.vue +++ b/frontend/src/views/login/xpack/Handler.vue @@ -308,7 +308,7 @@ const third_party_authentication = (state?: string) => { return null } const urlParams = getUrlParams() - const urlFlag = findKey && findKey > 6 ? 'platform' : 'authentication' + const urlFlag = findKey && findKey > 5 ? 'platform' : 'authentication' const ssoUrl = `/system/${urlFlag}/sso/${findKey}` if (!urlParams?.redirect_uri) { urlParams['redirect_uri'] = encodeURIComponent(getSQLBotAddr()) diff --git a/frontend/src/views/login/xpack/WecomQr.vue b/frontend/src/views/login/xpack/WecomQr.vue index a58abbd8..121acbe2 100644 --- a/frontend/src/views/login/xpack/WecomQr.vue +++ b/frontend/src/views/login/xpack/WecomQr.vue @@ -1,5 +1,7 @@