diff --git a/py4web/utils/hcaptcha.py b/py4web/utils/hcaptcha.py index 293cafabe..3af2ffd36 100644 --- a/py4web/utils/hcaptcha.py +++ b/py4web/utils/hcaptcha.py @@ -70,14 +70,12 @@ def field(self): return Field("h_captcha_response", "hidden", requires=self.validator) def validator(self, value, _): - print(value) - print(self.secret_key) # Build payload with secret key and token. data = {"secret": self.secret_key, "response": value} # Make POST request with data payload to hCaptcha API endpoint. res = requests.post(url="https://hcaptcha.com/siteverify", data=data) - print(res.text) + #print(res.text) try: if res.json()["success"]: return (True, None)