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.

feat: extend validation config max length (#523)

Yarden Shohamd8adc0afe93e
diff --git a/web/src/pages/Auth.tsx b/web/src/pages/Auth.tsx
index 227361a46..ccc3b0ec9 100644
--- a/web/src/pages/Auth.tsx
+++ b/web/src/pages/Auth.tsx
@@ -11,7 +11,7 @@ import "../less/auth.less";
const validateConfig: ValidatorConfig = {
minLength: 4,
- maxLength: 24,
+ maxLength: 320,
noSpace: true,
noChinese: true,
};