show information about demo account if enabled

This commit is contained in:
Athou
2022-08-13 18:00:07 +02:00
parent 198d9fb17e
commit 5cb09bc4c6
7 changed files with 15 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ export function LoginPage() {
label={t`User Name or E-mail`}
placeholder={t`User Name or E-mail`}
{...form.getInputProps("name")}
description={serverInfos?.demoAccountEnabled ? t`Try out CommaFeed with the demo account: demo/demo` : ""}
size="md"
required
/>