Skip to content

Commit

Permalink
[INLONG-7804][Manager] Limit the length of user password (#7805)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuweng11 committed Apr 8, 2023
1 parent e68baeb commit 27eba14
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -57,11 +57,11 @@ public class UserRequest extends PageRequest {
private String keyword;

@ApiModelProperty(value = "User password")
@Length(min = 1, max = 64, message = "length must be between 1 and 64")
@Length(min = 6, max = 64, message = "length must be between 6 and 64")
private String password;

@ApiModelProperty(value = "New password, is required if needs updated")
@Length(min = 1, max = 64, message = "length must be between 1 and 64")
@Length(min = 6, max = 64, message = "length must be between 6 and 64")
private String newPassword;

@ApiModelProperty("Secret key")
Expand Down

0 comments on commit 27eba14

Please sign in to comment.