From 0bee2e75107b91cbe7bab8045319bb6709a3606f Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 19 十一月 2024 17:23:25 +0800 Subject: [PATCH] 1 --- se-auth/src/main/java/com/se/auth/service/SysPasswordService.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/se-auth/src/main/java/com/se/auth/service/SysPasswordService.java b/se-auth/src/main/java/com/se/auth/service/SysPasswordService.java index fbd3d8d..8efc6ab 100644 --- a/se-auth/src/main/java/com/se/auth/service/SysPasswordService.java +++ b/se-auth/src/main/java/com/se/auth/service/SysPasswordService.java @@ -16,6 +16,7 @@ * @author admin */ @Component +@SuppressWarnings("ALL") public class SysPasswordService { @Autowired @@ -50,12 +51,12 @@ retryCount = 0; } - if (retryCount >= Integer.valueOf(maxRetryCount).intValue()) + /*if (retryCount >= Integer.valueOf(maxRetryCount).intValue()) { String errMsg = String.format("瀵嗙爜杈撳叆閿欒%s娆★紝甯愭埛閿佸畾%s鍒嗛挓", maxRetryCount, lockTime); recordLogService.recordLogininfor(username, Constants.LOGIN_FAIL,errMsg); throw new ServiceException(errMsg); - } + }*/ if (!matches(user, password)) { -- Gitblit v1.9.3