|
|
@@ -1,6 +1,5 @@
|
|
|
import React, { useCallback, useEffect, useState } from 'react'
|
|
|
import { useTranslation } from 'react-i18next'
|
|
|
-import Link from 'next/link'
|
|
|
import { useRouter, useSearchParams } from 'next/navigation'
|
|
|
import { RiContractLine, RiDoorLockLine, RiErrorWarningFill } from '@remixicon/react'
|
|
|
import Loading from '../components/base/loading'
|
|
|
@@ -12,7 +11,6 @@ import cn from '@/utils/classnames'
|
|
|
import { invitationCheck } from '@/service/common'
|
|
|
import { LicenseStatus } from '@/types/feature'
|
|
|
import Toast from '@/app/components/base/toast'
|
|
|
-import { IS_CE_EDITION } from '@/config'
|
|
|
import { useGlobalPublicStore } from '@/context/global-public-context'
|
|
|
|
|
|
const NormalForm = () => {
|
|
|
@@ -181,7 +179,7 @@ const NormalForm = () => {
|
|
|
</div>
|
|
|
</>}
|
|
|
{!systemFeatures.branding.enabled && <>
|
|
|
- <div className="system-xs-regular mt-2 block w-full text-text-tertiary">
|
|
|
+ {/* <div className="system-xs-regular mt-2 block w-full text-text-tertiary">
|
|
|
{t('login.tosDesc')}
|
|
|
|
|
|
<Link
|
|
|
@@ -195,15 +193,7 @@ const NormalForm = () => {
|
|
|
target='_blank' rel='noopener noreferrer'
|
|
|
href='https://dify.ai/privacy'
|
|
|
>{t('login.pp')}</Link>
|
|
|
- </div>
|
|
|
- {IS_CE_EDITION && <div className="w-hull system-xs-regular mt-2 block text-text-tertiary">
|
|
|
- {t('login.goToInit')}
|
|
|
-
|
|
|
- <Link
|
|
|
- className='system-xs-medium text-text-secondary hover:underline'
|
|
|
- href='/install'
|
|
|
- >{t('login.setAdminAccount')}</Link>
|
|
|
- </div>}
|
|
|
+ </div> */}
|
|
|
</>}
|
|
|
|
|
|
</div>
|