]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/main/RegisterPage.java
upd: use a more strict pattern for handling forms
[gigi.git] / src / org / cacert / gigi / pages / main / RegisterPage.java
index 30c428333702991664e451aa3dc6b9b9452d32d7..1d43a75a135ae0cf56ebf4a6d5a702fb6c29eb8b 100644 (file)
@@ -44,7 +44,7 @@ public class RegisterPage extends Page {
     public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException {
         Signup s = Form.getForm(req, Signup.class);
         try {
-            if (s.submit(resp.getWriter(), req)) {
+            if (s.submit(req)) {
                 HttpSession hs = req.getSession();
                 hs.setAttribute(SIGNUP_PROCESS, null);
                 resp.getWriter().println(translate(req, "Your information has been submitted" + " into our system. You will now be sent an email with a web link," + " you need to open that link in your web browser within 24 hours" + " or your information will be removed from our system!"));