Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix format

Johnnyd4ebf293f375
diff --git a/web/src/pages/SignIn.tsx b/web/src/pages/SignIn.tsx
index d00a68dca..0542a809c 100644
--- a/web/src/pages/SignIn.tsx
+++ b/web/src/pages/SignIn.tsx
@@ -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>