diff options
author | Vitaly Takmazov | 2015-12-24 17:21:39 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2015-12-24 17:21:39 +0300 |
commit | 89cd9060b1880ba3d41b5c9349552f61a35d80b0 (patch) | |
tree | cfc1c5e2e3a84f659358b8f3ed161865c5c2339e /src | |
parent | a8a8b8a58522815e10473f29f062f00c1ed32c13 (diff) |
fix TwitterAuth
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/juick/http/www/TwitterAuth.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |