From 4c6f3ba0d539f63a83c18e20ed4219bdef849b81 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 23 May 2017 14:06:51 +0300 Subject: drop ugnich json --- juick-www/src/main/java/com/juick/www/controllers/User.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-www/src/main/java/com/juick/www/controllers') 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 mids; -- cgit v1.2.3