0
0

密码长度验证

This commit is contained in:
2025-09-17 17:43:17 +08:00
parent aeea8f9072
commit 540a6fc1da
2 changed files with 6 additions and 11 deletions

View File

@ -25,7 +25,7 @@ public class AppPasswordLoginBody extends LoginBody {
* 用户密码
*/
@NotBlank(message = "{user.password.not.blank}")
@Length(min = 5, max = 30, message = "{user.password.length.valid}")
// @Length(min = 5, max = 30, message = "{user.password.length.valid}")
private String password;
}