From e6aea5da5e4fabf064f3c268d67b533c8753110c Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 28 八月 2024 18:49:22 +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