aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-05-23 14:06:51 +0300
committerGravatar Vitaly Takmazov2017-05-23 15:50:31 +0300
commit4c6f3ba0d539f63a83c18e20ed4219bdef849b81 (patch)
tree184ad8afcaa21ec4eeb7b06bb4f751548e710028 /juick-www/src/main
parent237739950a305b13c9f29e3ca25c2e835d563a3f (diff)
drop ugnich json
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/User.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/User.java b/juick-www/src/main/java/com/juick/www/controllers/User.java
index 6091f398..b66c6fa1 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/User.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/User.java
@@ -78,7 +78,7 @@ public class User {
com.juick.User user = userService.getUserByName(uname);
com.juick.User visitor = UserUtils.getCurrentUser();
if (user.isBanned()) {
- throw new HttpForbiddenException();
+ throw new HttpNotFoundException();
}
List<Integer> mids;