mirror of
https://github.com/usememos/memos.git
synced 2025-10-11 06:47:04 +08:00
chore: update username validate config (#209)
This commit is contained in:
parent
b8a7df21f2
commit
50fa560d4a
1 changed files with 2 additions and 2 deletions
|
@ -9,10 +9,10 @@ import showChangePasswordDialog from "../ChangePasswordDialog";
|
||||||
import "../../less/settings/my-account-section.less";
|
import "../../less/settings/my-account-section.less";
|
||||||
|
|
||||||
const validateConfig: ValidatorConfig = {
|
const validateConfig: ValidatorConfig = {
|
||||||
minLength: 4,
|
minLength: 1,
|
||||||
maxLength: 24,
|
maxLength: 24,
|
||||||
noSpace: true,
|
noSpace: true,
|
||||||
noChinese: true,
|
noChinese: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
const MyAccountSection = () => {
|
const MyAccountSection = () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue