修改注册密码长度限制

This commit is contained in:
eoao
2025-07-18 21:18:12 +08:00
parent 635fd7737b
commit 5d15a500f9

View File

@@ -42,8 +42,8 @@ const loginService = {
throw new BizError('邮箱长度超出限制');
}
if (password.length <= 6) {
throw new BizError('密码必须大于6位');
if (password.length < 6) {
throw new BizError('密码至少6位');
}
if (!c.env.domain.includes(emailUtils.getDomain(email))) {