diff options
m--------- | deps/com.juick.server | 6 | ||||
-rw-r--r-- | src/main/java/com/juick/http/www/TwitterAuth.java | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/deps/com.juick.server b/deps/com.juick.server -Subproject 03316e2af6989e026318e6860f27d26e6e805d4 +Subproject 4197b8b4bfb10ab222d8a6c35a44e9f44c8a322 diff --git a/src/main/java/com/juick/http/www/TwitterAuth.java b/src/main/java/com/juick/http/www/TwitterAuth.java index b51cbf5ee..d6abaa75f 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); } } } |