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 | |
parent | a8a8b8a58522815e10473f29f062f00c1ed32c13 (diff) |
fix TwitterAuth
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 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); } } } |