- if ( !"1".equals(req.getParameter("tos_agree"))) {
- ga.mergeInto(new GigiApiException("Acceptance of the ToS is required to continue."));
- }
-
- if ( !"1".equals(req.getParameter("dp_agree"))) {
- ga.mergeInto(new GigiApiException("Acceptance of the Data Protection Policy is required to continue."));
- }
-