diff --git a/web/app/(commonLayout)/datasets/template/template.zh.mdx b/web/app/(commonLayout)/datasets/template/template.zh.mdx
index 0e5857c446..7a5882d64b 100644
--- a/web/app/(commonLayout)/datasets/template/template.zh.mdx
+++ b/web/app/(commonLayout)/datasets/template/template.zh.mdx
@@ -6,7 +6,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
### 鉴权
- Dify Service API 使用 `API-Key` 进行鉴权。
+ Service API 使用 `API-Key` 进行鉴权。
建议开发者把 `API-Key` 放在后端存储,而非分享或者放在客户端存储,以免 `API-Key` 泄露,导致财产损失。
diff --git a/web/app/components/base/logo/logo-site.tsx b/web/app/components/base/logo/logo-site.tsx
index 301394d46a..ff33917c34 100644
--- a/web/app/components/base/logo/logo-site.tsx
+++ b/web/app/components/base/logo/logo-site.tsx
@@ -20,7 +20,7 @@ const LogoSite: FC
= ({
let src = theme === 'light' ? '/logo/logo-site.png' : `/logo/logo-site-${theme}.png`
if (systemFeatures.branding.enabled)
- src = systemFeatures.branding.login_page_logo
+ src = systemFeatures.branding.workspace_logo
return (
**强烈建议开发者把 `API-Key` 放在后端存储,而非分享或者放在客户端存储,以免 `API-Key` 泄露,导致财产损失。**
所有 API 请求都应在 **`Authorization`** HTTP Header 中包含您的 `API-Key`,如下所示:
diff --git a/web/app/components/develop/template/template_workflow.zh.mdx b/web/app/components/develop/template/template_workflow.zh.mdx
index 40dfb863a0..6f7e2e311e 100644
--- a/web/app/components/develop/template/template_workflow.zh.mdx
+++ b/web/app/components/develop/template/template_workflow.zh.mdx
@@ -14,7 +14,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
### Authentication
- Dify Service API 使用 `API-Key` 进行鉴权。
+ Service API 使用 `API-Key` 进行鉴权。
**强烈建议开发者把 `API-Key` 放在后端存储,而非分享或者放在客户端存储,以免 `API-Key` 泄露,导致财产损失。**
所有 API 请求都应在 **`Authorization`** HTTP Header 中包含您的 `API-Key`,如下所示:
diff --git a/web/app/signin/LoginLogo.tsx b/web/app/signin/LoginLogo.tsx
new file mode 100644
index 0000000000..0753d1f98a
--- /dev/null
+++ b/web/app/signin/LoginLogo.tsx
@@ -0,0 +1,34 @@
+'use client'
+import type { FC } from 'react'
+import classNames from '@/utils/classnames'
+import { useSelector } from '@/context/app-context'
+import { useGlobalPublicStore } from '@/context/global-public-context'
+
+type LoginLogoProps = {
+ className?: string
+}
+
+const LoginLogo: FC = ({
+ className,
+}) => {
+ const { systemFeatures } = useGlobalPublicStore()
+ const { theme } = useSelector((s) => {
+ return {
+ theme: s.theme,
+ }
+ })
+
+ let src = theme === 'light' ? '/logo/logo-site.png' : `/logo/logo-site-${theme}.png`
+ if (systemFeatures.branding.enabled)
+ src = systemFeatures.branding.login_page_logo
+
+ return (
+
+ )
+}
+
+export default LoginLogo
diff --git a/web/app/signin/_header.tsx b/web/app/signin/_header.tsx
index a9479a3fe4..a906c82b11 100644
--- a/web/app/signin/_header.tsx
+++ b/web/app/signin/_header.tsx
@@ -1,17 +1,17 @@
'use client'
import React from 'react'
import { useContext } from 'use-context-selector'
+import LoginLogo from './LoginLogo'
import Select from '@/app/components/base/select/locale'
import { languages } from '@/i18n/language'
import { type Locale } from '@/i18n'
import I18n from '@/context/i18n'
-import LogoSite from '@/app/components/base/logo/logo-site'
const Header = () => {
const { locale, setLocaleOnClient } = useContext(I18n)
return
-
+