src/main/java/org/springblade/modules/auth/endpoint/BladeTokenEndPoint.java
@@ -136,6 +136,10 @@ return authInfo.set("error_description", "审核不通过"); } } if (userInfo != null && userInfo.getUser().getIsFreeze().equals(1)) { return authInfo.set("error_code", HttpServletResponse.SC_BAD_REQUEST).set("error_description", "该用户超半年未使用系统,已被冻结,请联系管理员!"); } if (userInfo == null || userInfo.getUser() == null) { return authInfo.set("error_code", HttpServletResponse.SC_BAD_REQUEST).set("error_description", "用户名或密码不正确"); }