diff options
author | Vitaly Takmazov | 2016-11-23 12:08:45 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-23 12:08:45 +0300 |
commit | 42718787291bed507caf4f7ae13f6c41f9b8d7ff (patch) | |
tree | 2ba7bb057a6a740e98c5f4d6dae813af1a6b977f /juick-www/src/main/java/com/juick/www/UserThread.java | |
parent | aa3c1a06ed46f49b617e2956b6cf9a1b0d367fb0 (diff) |
using HttpServletResponse status codes
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/UserThread.java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/UserThread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/UserThread.java b/juick-www/src/main/java/com/juick/www/UserThread.java index 394d6712..6355e87e 100644 --- a/juick-www/src/main/java/com/juick/www/UserThread.java +++ b/juick-www/src/main/java/com/juick/www/UserThread.java @@ -42,7 +42,7 @@ public class UserThread { com.juick.User visitor = Utils.getVisitorUser(sql, request, response); if (!MessagesQueries.canViewThread(sql, MID, visitor.getUid())) { - response.sendError(403); + response.sendError(HttpServletResponse.SC_FORBIDDEN); return; } |