|
@@ -416,8 +416,8 @@ public class ToolsUtils {
|
|
|
if(Validator.isEmpty(passWord)){
|
|
|
return false;
|
|
|
}
|
|
|
- if(passWord.length()<8||passWord.length()>16){
|
|
|
- throw new CustomException("密码长度限制8到16位");
|
|
|
+ if(passWord.length()<6||passWord.length()>16){
|
|
|
+ throw new CustomException("密码长度限制6到16位");
|
|
|
}
|
|
|
return true;
|
|
|
}
|