🎨 改进结构和代码格式 login.ftl 租户ID 错误、 令牌错误

This commit is contained in:
lbw committed 2022-05-07 20:16:08 +08:00
1 parent ed7b9d8bb6
commit 8262b3ed60
2 files changed
+2 -2

No files matched your search

@@ -22,7 +22,7 @@
<#if tenantList??>
<select class="form-control form-margin-top" placeholder="所属租户" name="TENANT-ID">
<#list tenantList as tenant>
<option value="${tenant.code}">${tenant.name}</option>
<option value="${tenant.id}">${tenant.name}</option>
</#list>
</select>
</#if>
@@ -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) {