chore: update username validate config (#209)

This commit is contained in:
boojack 2022-09-09 22:30:24 +08:00 committed by GitHub
parent b8a7df21f2
commit 50fa560d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,10 +9,10 @@ import showChangePasswordDialog from "../ChangePasswordDialog";
import "../../less/settings/my-account-section.less";
const validateConfig: ValidatorConfig = {
minLength: 4,
minLength: 1,
maxLength: 24,
noSpace: true,
noChinese: true,
noChinese: false,
};
const MyAccountSection = () => {