|
|
@ -88,7 +88,7 @@ public class AdminServiceImpl implements AdminService { |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
private static final String PASSWORD_REGEX = "^(?![0-9]+$)(?![a-zA-Z]+$)(?!\\W+$).{8,16}$"; |
|
|
|
private static final String PASSWORD_REGEX = "^(?![0-9]+$)(?![a-zA-Z]+$)(?!\\W+$)[a-zA-Z0-9!@#$%^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?]{8,16}$"; |
|
|
|
private static final Pattern PASSWORD_PATTERN = Pattern.compile(PASSWORD_REGEX); |
|
|
|
|
|
|
|
//更新密码 |
|
|
|