浏览代码

1、优化密码长度需求

rayson 8 月之前
父节点
当前提交
33ce575e63

+ 1 - 1
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/controller/app/common/auth/enterprise/AppEnterpriseResetPasswordReqVO.java

@@ -22,7 +22,7 @@ public class AppEnterpriseResetPasswordReqVO {
 
     @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED, example = "buzhidao")
     @NotEmpty(message = "{1_100_016_019}")
-//    @Length(min = 4, max = 16, message = "{1_100_016_014}")
+//    @Length(min = 8, max = 36, message = "{1_100_016_014}")
     private String password;
 
     @NotEmpty(message = "{1_100_016_026}")

+ 1 - 1
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/controller/app/common/auth/vo/AppMdeAuthLoginReqVO.java

@@ -21,7 +21,7 @@ public class AppMdeAuthLoginReqVO {
 
     @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED, example = "buzhidao")
     @NotEmpty(message = "{1_100_016_019}")
-//    @Length(min = 4, max = 16, message = "{1_100_016_014}")
+//    @Length(min = 8, max = 36, message = "{1_100_016_014}")
     private String password;
 
 

+ 1 - 1
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/controller/app/jobhunt/user/vo/AppMdeUserResetPasswordReqVO.java

@@ -22,7 +22,7 @@ public class AppMdeUserResetPasswordReqVO {
 
     @Schema(description = "新密码", requiredMode = Schema.RequiredMode.REQUIRED, example = "buzhidao")
     @NotEmpty(message = "{1_100_016_012}")
-    @Length(min = 8, max = 16, message = "{1_100_016_017}")
+    @Length(min = 8, max = 36, message = "{1_100_016_017}")
     private String password;
 
     @Schema(description = "手机验证码", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")

+ 1 - 1
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/controller/app/jobhunt/user/vo/AppMdeUserUpdatePasswordReqVO.java

@@ -19,7 +19,7 @@ public class AppMdeUserUpdatePasswordReqVO {
 
     @Schema(description = "新密码", requiredMode = Schema.RequiredMode.REQUIRED, example = "buzhidao")
     @NotEmpty(message = "{1_100_016_012}")
-    @Length(min = 8, max = 16, message = "{1_100_016_017}")
+    @Length(min = 8, max = 36, message = "{1_100_016_017}")
     private String password;
 
     @Schema(description = "手机验证码", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")

+ 1 - 1
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/controller/base/enterprise/bind/EnterpriseUpdatePasswordReqVO.java

@@ -18,6 +18,6 @@ public class EnterpriseUpdatePasswordReqVO {
 
     @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456")
     @NotEmpty(message = "{1_100_023_005}")
-    @Length(min = 4, max = 16, message = "{1_100_023_006}")
+    @Length(min = 8, max = 36, message = "{1_100_023_006}")
     private String password;
 }

+ 1 - 1
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/controller/base/user/MdeUserUpdatePasswordReqVO.java

@@ -17,7 +17,7 @@ public class MdeUserUpdatePasswordReqVO {
 
     @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456")
     @NotEmpty(message = "{1_100_016_012}")
-    @Length(min = 8, max = 16, message = "{1_100_016_017}")
+    @Length(min = 8, max = 36, message = "{1_100_016_017}")
     private String password;
 
 }

+ 3 - 3
menduner/menduner-system-biz/src/main/resources/i18n/messages_en_US.properties

@@ -111,7 +111,7 @@
 1_100_016_014=The length of the mobile verification code is 4-6 digits
 1_100_016_015=The length of the phone number is 8-11 digits
 1_100_016_016=Phone verification codes must all be numbers
-1_100_016_017=Password length is 8-16 bits
+1_100_016_017=Password length is 8-36 bits
 1_100_016_018=User ID cannot be empty
 1_100_016_019=Password cannot be empty
 1_100_016_020=User account cannot be empty
@@ -187,7 +187,7 @@
 1_100_021_012=Unified Social Credit Code has been registered
 1_100_021_013=Contact name cannot be empty
 1_100_021_014=Password cannot be empty
-1_100_021_015=Password length is 8-16 digits
+1_100_021_015=Password length is 8-36 digits
 1_100_021_016=Enterprise registration application in progress
 1_100_021_017=This email has been registered by another company
 # ========== 企业地址 1_100_022_001 ==========
@@ -198,7 +198,7 @@
 1_100_023_003=The account has been disabled
 1_100_023_004=This account is an administrator account and cannot be operated
 1_100_023_005=New password cannot be empty
-1_100_023_006=The length of the new password is 8-16 digits
+1_100_023_006=The length of the new password is 8-36 digits
 1_100_023_007=This email has been registered by another company
 1_100_023_008=Enterprise user email cannot be empty
 1_100_023_009=Enterprise user login email format incorrect

+ 3 - 3
menduner/menduner-system-biz/src/main/resources/i18n/messages_zh_CN.properties

@@ -111,7 +111,7 @@
 1_100_016_014=手机验证码长度为 4-6 位
 1_100_016_015=手机号码长度为 8-11 位
 1_100_016_016=手机验证码必须都是数字
-1_100_016_017=密码长度为 8-16 位
+1_100_016_017=密码长度为 8-36 位
 1_100_016_018=用户编号不能为空
 1_100_016_019=密码不能为空
 1_100_016_020=用户账号不能为空
@@ -187,7 +187,7 @@
 1_100_021_012=统一社会信用代码已被注册
 1_100_021_013=联系人名称不能为空
 1_100_021_014=密码不能为空
-1_100_021_015=密码长度为 8-16 位
+1_100_021_015=密码长度为 8-36 位
 1_100_021_016=企业注册申请中
 1_100_021_017=该邮箱已被其他企业注册
 # ========== 企业地址 1_100_022_001 ==========
@@ -198,7 +198,7 @@
 1_100_023_003=该账户已被禁用
 1_100_023_004=该账户为管理员账户,无法操作
 1_100_023_005=新密码不能为空
-1_100_023_006=新密码长度为 4-16 位
+1_100_023_006=新密码长度为 8-36 位
 1_100_023_007=该邮箱已被其他企业注册
 1_100_023_008=企业用户邮箱不能为空
 1_100_023_009=企业用户登录邮箱格式不正确