From 0e0b1a6cfd22bbad64abd43e39f503636989bbe5 Mon Sep 17 00:00:00 2001 From: yyb <1416014977@qq.com> Date: Thu, 8 Jan 2026 16:20:42 +0800 Subject: [PATCH] =?UTF-8?q?update=20m2pool=20=E7=94=A8=E6=88=B7=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=AF=86=E7=A0=81=EF=BC=8C=E6=B3=A8=E5=86=8C=20?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E6=AD=A3=E5=88=99=E9=AA=8C=E8=AF=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/m2pool/auth/service/SysLoginService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m2pool-auth/src/main/java/com/m2pool/auth/service/SysLoginService.java b/m2pool-auth/src/main/java/com/m2pool/auth/service/SysLoginService.java index 0cecba4..02d2c5c 100644 --- a/m2pool-auth/src/main/java/com/m2pool/auth/service/SysLoginService.java +++ b/m2pool-auth/src/main/java/com/m2pool/auth/service/SysLoginService.java @@ -57,7 +57,7 @@ public class SysLoginService { private RedisService redisService; //public static String PWD_REGEX="^(?![A-Za-z0-9]+$)(?![a-z0-9\\W]+$)(?![A-Za-z\\W]+$)(?![A-Z0-9\\W]+$)[a-zA-Z0-9\\W]{8,32}$"; - public static String PWD_REGEX="^(?=.*[A-Z])(?=.*[a-z])(?=.*\\d)(?=.*[!@#$%^&*()./_])[A-Za-z\\d!@#$%^&*()./_]{8,32}$"; + public static String PWD_REGEX="^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[\\W_])(?!.*[\\u4e00-\\u9fa5])(?!.*\\s).{8,32}$"; public static String EMAIL_REGEX="^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$"; /**