From 8262b3ed6099df9e12808834b15e0a34b7685aca Mon Sep 17 00:00:00 2001 From: lbw Date: Sat, 7 May 2022 20:16:08 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=B9=E8=BF=9B=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E5=92=8C=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=20=20login.ftl=20?= =?UTF-8?q?=E7=A7=9F=E6=88=B7ID=20=E9=94=99=E8=AF=AF=E3=80=81=20=E4=BB=A4?= =?UTF-8?q?=E7=89=8C=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pigx-auth/src/main/resources/templates/ftl/login.ftl | 2 +- .../security/component/PigxWebResponseExceptionTranslator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pigx-auth/src/main/resources/templates/ftl/login.ftl b/pigx-auth/src/main/resources/templates/ftl/login.ftl index 7a8409f47..5bf8c09a1 100755 --- a/pigx-auth/src/main/resources/templates/ftl/login.ftl +++ b/pigx-auth/src/main/resources/templates/ftl/login.ftl @@ -22,7 +22,7 @@ <#if tenantList??> diff --git a/pigx-common/pigx-common-security/src/main/java/com/pig4cloud/pigx/common/security/component/PigxWebResponseExceptionTranslator.java b/pigx-common/pigx-common-security/src/main/java/com/pig4cloud/pigx/common/security/component/PigxWebResponseExceptionTranslator.java index 1f8bb45a2..3b878e08c 100644 --- a/pigx-common/pigx-common-security/src/main/java/com/pig4cloud/pigx/common/security/component/PigxWebResponseExceptionTranslator.java +++ b/pigx-common/pigx-common-security/src/main/java/com/pig4cloud/pigx/common/security/component/PigxWebResponseExceptionTranslator.java @@ -71,7 +71,7 @@ public class PigxWebResponseExceptionTranslator implements WebResponseExceptionT return handleOAuth2Exception(new MethodNotAllowedException(ase.getMessage(), ase)); } - // 处理不合法的令牌错误 427 返回 + // 处理不合法的令牌错误 424 返回 ase = (InvalidTokenException) throwableAnalyzer.getFirstThrowableOfType(InvalidTokenException.class, causeChain); if (ase != null) {