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");
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) {
e.printStackTrace();
} catch (GigiApiException e) {
- outputError(out, req, e.getMessage());
+ e.format(out, Page.getLanguage(req));
return false;
}
return true;