diff options
author | Vitaly Takmazov | 2017-05-23 14:06:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-05-23 15:50:31 +0300 |
commit | 4c6f3ba0d539f63a83c18e20ed4219bdef849b81 (patch) | |
tree | 184ad8afcaa21ec4eeb7b06bb4f751548e710028 /juick-www/src/main/java/com/juick | |
parent | 237739950a305b13c9f29e3ca25c2e835d563a3f (diff) |
drop ugnich json
Diffstat (limited to 'juick-www/src/main/java/com/juick')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/User.java | 2 |
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; |