fdssfd
This commit is contained in:
parent
12b5748506
commit
8770e4aa93
6 changed files with 17 additions and 17 deletions
|
@ -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].")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue