From 024f9f82e28d1586884212ad1202abffb2bd7c6f Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Sat, 16 Jan 2021 10:43:52 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90captcha=E3=80=91=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-d-auth/auth-sdk/src/main/java/cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java b/kernel-d-auth/auth-sdk/src/main/java/cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java index a7dd15a14..b9612f00c 100644 --- a/kernel-d-auth/auth-sdk/src/main/java/cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java +++ b/kernel-d-auth/auth-sdk/src/main/java/cn/stylefeng/roses/kernel/auth/auth/AuthServiceImpl.java @@ -180,7 +180,7 @@ public class AuthServiceImpl implements AuthServiceApi { throw new AuthException(ValidatorExceptionEnum.CAPTCHA_EMPTY); } if (!captchaApi.validateCaptcha(verKey, verCode)) { - throw new AuthException(ValidatorExceptionEnum.CAPTCHA_EMPTY); + throw new AuthException(ValidatorExceptionEnum.CAPTCHA_ERROR); } }