Merge pull request #1137 from dataease/pr@v1.4@refactor_重构提示信息
refactor: 重构提示信息
This commit is contained in:
commit
18854ffa68
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user