This commit is contained in:
Aevann1 2021-11-14 03:19:32 +02:00
parent 12b5748506
commit 8770e4aa93
6 changed files with 17 additions and 17 deletions

View file

@ -294,7 +294,7 @@ def sign_up_post(v):
"sitekey": app.config["HCAPTCHA_SITEKEY"]}
url = "https://hcaptcha.com/siteverify"
x = requests.post(url, data=data)
x = requests.post(url, data=data, timeout=5)
if not x.json()["success"]:
return new_signup("Unable to verify captcha [2].")