提交 efc6ce6b authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

refactor: 重构提示信息

上级 2db1fed8
......@@ -58,7 +58,7 @@ public class F2CRealm extends AuthorizingRealm {
if (auth instanceof ASKToken) {
if (!authUserService.pluginLoaded()) {
throw new AuthenticationException("lic error");
throw new AuthenticationException("license error");
}
Object accessKey = auth.getPrincipal();
......@@ -76,7 +76,7 @@ public class F2CRealm extends AuthorizingRealm {
CacheUtils.get("lic_info", "lic");
}catch (Exception e) {
LogUtil.error(e);
throw new AuthenticationException("lic error");
throw new AuthenticationException("license error");
}
TokenInfo tokenInfo = null;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论