chore: fix format

This commit is contained in:
Johnny 2025-05-19 10:03:05 +08:00 committed by GitHub
parent 0440888571
commit d4ebf293f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -65,9 +65,9 @@ const SignIn = () => {
</div>
{!workspaceGeneralSetting.disallowPasswordAuth ? (
<PasswordSignInForm />
) : (identityProviderList.length == 0 && (
<p className="w-full text-2xl mt-2 dark:text-gray-500">Password auth is not allowed.</p>
))}
) : (
identityProviderList.length == 0 && <p className="w-full text-2xl mt-2 dark:text-gray-500">Password auth is not allowed.</p>
)}
{!workspaceGeneralSetting.disallowUserRegistration && !workspaceGeneralSetting.disallowPasswordAuth && (
<p className="w-full mt-4 text-sm">
<span className="dark:text-gray-500">{t("auth.sign-up-tip")}</span>