mirror of
https://github.com/usememos/memos.git
synced 2025-10-19 10:47:17 +08:00
fix: change password max length validation (#616)
This commit is contained in:
parent
f883dd9c1d
commit
40e92f9463
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import toastHelper from "./Toast";
|
||||||
|
|
||||||
const validateConfig: ValidatorConfig = {
|
const validateConfig: ValidatorConfig = {
|
||||||
minLength: 4,
|
minLength: 4,
|
||||||
maxLength: 24,
|
maxLength: 320,
|
||||||
noSpace: true,
|
noSpace: true,
|
||||||
noChinese: true,
|
noChinese: true,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue