Merge pull request #1137 from dataease/pr@v1.4@refactor_重构提示信息

refactor: 重构提示信息
This commit is contained in:
fit2cloud-chenyw 2021-11-06 15:45:42 +08:00 committed by GitHub
commit 18854ffa68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;