diff --git a/web/app/(shareLayout)/webapp-signin/page.tsx b/web/app/(shareLayout)/webapp-signin/page.tsx index d8a1267c6f..39685d4bd7 100644 --- a/web/app/(shareLayout)/webapp-signin/page.tsx +++ b/web/app/(shareLayout)/webapp-signin/page.tsx @@ -8,7 +8,6 @@ import cn from '@/utils/classnames' import Toast from '@/app/components/base/toast' import { fetchWebOAuth2SSOUrl, fetchWebOIDCSSOUrl, fetchWebSAMLSSOUrl } from '@/service/share' import { setAccessToken } from '@/app/components/share/utils' -import Button from '@/app/components/base/button' import { useGlobalPublicStore } from '@/context/global-public-context' import { SSOProtocol } from '@/types/feature' import Loading from '@/app/components/base/loading' @@ -97,10 +96,11 @@ const WebSSOForm: FC = () => { if (systemFeatures.webapp_auth.enabled) { if (systemFeatures.webapp_auth.allow_sso) { + handleSSOLogin() return (
- +
) diff --git a/web/app/components/share/text-generation/menu-dropdown.tsx b/web/app/components/share/text-generation/menu-dropdown.tsx index db53013340..b19716404b 100644 --- a/web/app/components/share/text-generation/menu-dropdown.tsx +++ b/web/app/components/share/text-generation/menu-dropdown.tsx @@ -83,7 +83,7 @@ const MenuDropdown: FC = ({ }} className='system-md-regular cursor-pointer rounded-lg px-3 py-1.5 text-text-secondary hover:bg-state-base-hover' >{t('common.userProfile.about')} - {!hideLogout && ( + {false && ( <>