修改注册密码规则
This commit is contained in:
parent
0230d316fb
commit
6a1aace1c0
|
@ -62,8 +62,8 @@ public class RegisterServiceImpl implements RegisterService {
|
||||||
else if (!confirmedPassword.equals(password)) {
|
else if (!confirmedPassword.equals(password)) {
|
||||||
map.put("error_message", "两次密码输入不一致");
|
map.put("error_message", "两次密码输入不一致");
|
||||||
return map;
|
return map;
|
||||||
} else if (password.length() < 6) {
|
} else if (password.length() < 2) {
|
||||||
map.put("error_message", "密码不能少于6位");
|
map.put("error_message", "密码不能少于2位");
|
||||||
return map;
|
return map;
|
||||||
} else if (password.length() > 100) {
|
} else if (password.length() > 100) {
|
||||||
map.put("error_message", "密码过长");
|
map.put("error_message", "密码过长");
|
||||||
|
|
Loading…
Reference in New Issue