aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2015-12-24 17:21:39 +0300
committerGravatar Vitaly Takmazov2015-12-24 17:21:39 +0300
commit89cd9060b1880ba3d41b5c9349552f61a35d80b0 (patch)
treecfc1c5e2e3a84f659358b8f3ed161865c5c2339e /src/main/java
parenta8a8b8a58522815e10473f29f062f00c1ed32c13 (diff)
fix TwitterAuth
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/http/www/TwitterAuth.java2
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);
}
}
}