From 482f70a1df3b56bd98ad7168c7834ad57ae10e3d Mon Sep 17 00:00:00 2001 From: NFish Date: Fri, 5 Dec 2025 14:00:32 +0800 Subject: [PATCH] fix: hide Dify branding in webapp signin page when branding is enabled - Use conditional page title based on branding.enabled flag - Always show welcome message regardless of branding status - Replace login.pageTitle with login.pageTitleForE when branding is enabled --- web/app/(shareLayout)/webapp-signin/normalForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/(shareLayout)/webapp-signin/normalForm.tsx b/web/app/(shareLayout)/webapp-signin/normalForm.tsx index 44006a9f1e..219722eef3 100644 --- a/web/app/(shareLayout)/webapp-signin/normalForm.tsx +++ b/web/app/(shareLayout)/webapp-signin/normalForm.tsx @@ -94,8 +94,8 @@ const NormalForm = () => { <>
-

{t('login.pageTitle')}

- {!systemFeatures.branding.enabled &&

{t('login.welcome')}

} +

{systemFeatures.branding.enabled ? t('login.pageTitleForE') : t('login.pageTitle')}

+

{t('login.welcome')}