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

View file

@ -65,9 +65,9 @@ const SignIn = () => {
</div> </div>
{!workspaceGeneralSetting.disallowPasswordAuth ? ( {!workspaceGeneralSetting.disallowPasswordAuth ? (
<PasswordSignInForm /> <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 && ( {!workspaceGeneralSetting.disallowUserRegistration && !workspaceGeneralSetting.disallowPasswordAuth && (
<p className="w-full mt-4 text-sm"> <p className="w-full mt-4 text-sm">
<span className="dark:text-gray-500">{t("auth.sign-up-tip")}</span> <span className="dark:text-gray-500">{t("auth.sign-up-tip")}</span>