提示信息的修改
This commit is contained in:
@@ -29,7 +29,7 @@ public class AuthenticationEntryPointImpl implements AuthenticationEntryPoint, S
|
||||
{
|
||||
int code = HttpStatus.UNAUTHORIZED;
|
||||
//认证失败,无法访问系统资源
|
||||
String msg = StringUtils.format("Request access:{},authentication failed, unable to access system resources", request.getRequestURI());
|
||||
String msg = "Authentication failed,please log in";
|
||||
ServletUtils.renderString(response, JSON.toJSONString(AjaxResult.error(code, msg)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user