|
@ -76,8 +76,6 @@ public class AdminLoginFilter implements Filter { |
|
|
RequestContext.initAdmin(httpRequest, (HttpServletResponse) response, adminId); |
|
|
RequestContext.initAdmin(httpRequest, (HttpServletResponse) response, adminId); |
|
|
if (adminId != null) { |
|
|
if (adminId != null) { |
|
|
MatrixAdmin admin = adminMapper.selectById(adminId); |
|
|
MatrixAdmin admin = adminMapper.selectById(adminId); |
|
|
Gson gson = new Gson(); |
|
|
|
|
|
L.trace("filter", gson.toJson(admin)); |
|
|
|
|
|
if (admin != null && admin.getDisable() > 0) { |
|
|
if (admin != null && admin.getDisable() > 0) { |
|
|
channelDisable(response); |
|
|
channelDisable(response); |
|
|
return; |
|
|
return; |
|
|