Unverified Commit d4ebf293 authored by Johnny's avatar Johnny Committed by GitHub

chore: fix format

parent 04408885
...@@ -65,9 +65,9 @@ const SignIn = () => { ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment