修复在未登录情况下,点击发帖跳转登录失败
This commit is contained in:
parent
14f3f63b96
commit
8efbcc95f8
@ -102,7 +102,7 @@ public class BaseServlet extends HttpServlet {
|
||||
if ("XMLHttpRequest".equals(request.getHeader("X-Requested-With"))){
|
||||
response.finish(RetCodes.retResult(RET_USER_UNLOGIN, "未登录,登录后重试").toString());
|
||||
}else {
|
||||
|
||||
response.finish(HttpScope.refer("/user/login.html"));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user