aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/SignUp.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-12-14 00:43:10 +0700
committerGravatar Ugnich Anton2013-12-14 00:43:10 +0700
commitf4a45264cb8f0cfeacdb89ce9bf4c60474923f80 (patch)
tree47a7cfd203fff913c05bb83f8968e9be26c8c3b2 /src/java/com/juick/http/www/SignUp.java
parent174f7d40d76ad138dbe2ffa81dd0e2d7cdaccd24 (diff)
getVisitorUser sent X-Username header
Diffstat (limited to 'src/java/com/juick/http/www/SignUp.java')
-rw-r--r--src/java/com/juick/http/www/SignUp.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/juick/http/www/SignUp.java b/src/java/com/juick/http/www/SignUp.java
index 3761c8d3..b5780676 100644
--- a/src/java/com/juick/http/www/SignUp.java
+++ b/src/java/com/juick/http/www/SignUp.java
@@ -38,7 +38,7 @@ import javax.servlet.http.HttpServletResponse;
public class SignUp {
protected void doGet(Connection sql, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
- com.juick.User visitor = Utils.getVisitorUser(sql, request);
+ com.juick.User visitor = Utils.getVisitorUser(sql, request, response);
Locale locale = request.getLocale();
ResourceBundle rb = ResourceBundle.getBundle("SignUp", locale);
@@ -126,7 +126,7 @@ public class SignUp {
}
protected void doPost(Connection sql, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
- com.juick.User visitor = Utils.getVisitorUser(sql, request);
+ com.juick.User visitor = Utils.getVisitorUser(sql, request, response);
int uid = 0;
String type = request.getParameter("type");