chore: fix format
This commit is contained in:
parent
0440888571
commit
d4ebf293f3
1 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue