]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/main/Signup.java
Replace "CAcert" with "SomeCA" on all user-exposed pages
[gigi.git] / src / org / cacert / gigi / pages / main / Signup.java
index bb72a9cd1a44fa516624823a36b7671c7d62ea58..27566aeee9619c32b5db8bcb19faedd36d644ad8 100644 (file)
@@ -100,7 +100,7 @@ public class Signup extends Form {
             outputError(out, req, "Invalid date of birth");
         }
         if ( !"1".equals(req.getParameter("cca_agree"))) {
-            outputError(out, req, "You have to agree to the CAcert Community agreement.");
+            outputError(out, req, "You have to agree to the SomeCA Community agreement.");
         }
         if (email.equals("")) {
             outputError(out, req, "Email Address was blank");
@@ -158,6 +158,10 @@ public class Signup extends Form {
         if (isFailed(out)) {
             return false;
         }
+        if (RegisterPage.RATE_LIMIT.isLimitExceeded(req.getRemoteAddr())) {
+            outputError(out, req, "Rate Limit Exceeded");
+            return false;
+        }
         try {
             run(req, pw1);
         } catch (SQLException e) {