]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/main/Signup.java
ToS: replacement of CCA/ToS in Signup
[gigi.git] / src / org / cacert / gigi / pages / main / Signup.java
index f55c2fdc56e25d5deb1f1f07afe36ab308d1ba06..52fddbebbd2f022484ce61bc26b339701c5b569f 100644 (file)
@@ -98,8 +98,8 @@ public class Signup extends Form {
         if ( !myDoB.isValid()) {
             outputError(out, req, "Invalid date of birth");
         }
-        if ( !"1".equals(req.getParameter("cca_agree"))) {
-            outputError(out, req, "You have to agree to the SomeCA Community agreement.");
+        if ( !"1".equals(req.getParameter("tos_agree"))) {
+            outputError(out, req, "Acceptance of the ToS is required to continue.");
         }
         if (email.equals("")) {
             outputError(out, req, "Email Address was blank");
@@ -183,6 +183,7 @@ public class Signup extends Form {
             ps.setBoolean(5, radius);
             ps.execute();
         }
-        Notary.writeUserAgreement(u, "CCA", "account creation", "", true, 0);
+        Notary.writeUserAgreement(u, "ToS", "account creation", "", true, 0);
+
     }
 }