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.

fix: change password max length validation (#616)

Zeng199840e92f946309
diff --git a/web/src/components/ChangePasswordDialog.tsx b/web/src/components/ChangePasswordDialog.tsx
index 135f6ec0f..0b0ca1f21 100644
--- a/web/src/components/ChangePasswordDialog.tsx
+++ b/web/src/components/ChangePasswordDialog.tsx
@@ -8,7 +8,7 @@ import toastHelper from "./Toast";
const validateConfig: ValidatorConfig = {
minLength: 4,
- maxLength: 24,
+ maxLength: 320,
noSpace: true,
noChinese: true,
};