From 89cd9060b1880ba3d41b5c9349552f61a35d80b0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 24 Dec 2015 17:21:39 +0300 Subject: fix TwitterAuth --- src/main/java/com/juick/http/www/TwitterAuth.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/juick') diff --git a/src/main/java/com/juick/http/www/TwitterAuth.java b/src/main/java/com/juick/http/www/TwitterAuth.java index b51cbf5e..d6abaa75 100644 --- a/src/main/java/com/juick/http/www/TwitterAuth.java +++ b/src/main/java/com/juick/http/www/TwitterAuth.java @@ -76,7 +76,7 @@ public class TwitterAuth { response.setStatus(HttpServletResponse.SC_FOUND); response.setHeader("Location", "http://juick.com/settings"); } else { - response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); + response.sendError(500); } } } -- cgit v1.2.3