Skip to content

Commit 52ea799

Browse files
authored
fix: hide Dify branding in webapp signin page when branding is enabled (langgenius#29200)
1 parent 3dc3589 commit 52ea799

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

web/app/(shareLayout)/webapp-signin/normalForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ const NormalForm = () => {
9494
<>
9595
<div className="mx-auto mt-8 w-full">
9696
<div className="mx-auto w-full">
97-
<h2 className="title-4xl-semi-bold text-text-primary">{t('login.pageTitle')}</h2>
98-
{!systemFeatures.branding.enabled && <p className='body-md-regular mt-2 text-text-tertiary'>{t('login.welcome')}</p>}
97+
<h2 className="title-4xl-semi-bold text-text-primary">{systemFeatures.branding.enabled ? t('login.pageTitleForE') : t('login.pageTitle')}</h2>
98+
<p className='body-md-regular mt-2 text-text-tertiary'>{t('login.welcome')}</p>
9999
</div>
100100
<div className="relative">
101101
<div className="mt-6 flex flex-col gap-3">

0 commit comments

Comments
 (0)