mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: change password max length validation (#616)
This commit is contained in:
@ -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,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user